aboutsummaryrefslogtreecommitdiffstats
path: root/testing/barnyard2/10-fix-output-fwsam-and-database_cache.patch
blob: 9e31f38566fb0513943968da962ec7b77f5e8085 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
--- a/src/output-plugins/spo_alert_fwsam.c
+++ b/src/output-plugins/spo_alert_fwsam.c
@@ -115,6 +115,7 @@
 #include <sys/filio.h>
 #endif
 
+#undef SOCKET
 typedef int SOCKET;
 
 #ifndef INVALID_SOCKET
--- a/src/output-plugins/spo_database_cache.c
+++ b/src/output-plugins/spo_database_cache.c
@@ -107,7 +107,7 @@
 /* Destructor */
 
 /* Return largest string lenght */
-inline u_int32_t glsl(char *a,char *b)
+static inline u_int32_t glsl(char *a,char *b)
 {
     u_int32_t alen = 0;
     u_int32_t blen = 0;