summaryrefslogtreecommitdiff
path: root/security/snort3/files/patch-src_helpers_process.cc
blob: 271ebbe4d8ad5e655d4ce24f72ea3fda512a4e22 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
--- src/helpers/process.cc.orig	2020-07-10 23:44:17 UTC
+++ src/helpers/process.cc
@@ -34,6 +34,11 @@
 #include <malloc.h>
 #endif
 
+/* sighandler_t is GNU extension */
+#ifndef HAVE_SIGHANDLER_T
+typedef void (*sighandler_t) (int);
+#endif
+
 #include <csignal>
 #include <iostream>