2017-06-23 08:38:29 +02:00
|
|
|
Index: modsecurity-2.9.0/apache2/msc_status_engine.c
|
|
|
|
===================================================================
|
2015-03-01 12:04:28 +01:00
|
|
|
--- modsecurity-2.9.0.orig/apache2/msc_status_engine.c
|
|
|
|
+++ modsecurity-2.9.0/apache2/msc_status_engine.c
|
2017-06-23 08:38:29 +02:00
|
|
|
@@ -37,6 +37,8 @@
|
2015-03-01 12:04:28 +01:00
|
|
|
#if (defined(__linux__) || defined(__gnu_linux__))
|
|
|
|
#include <linux/if.h>
|
|
|
|
#include <linux/sockios.h>
|
|
|
|
+#include <sys/ioctl.h>
|
2017-06-23 08:38:29 +02:00
|
|
|
+#include <netdb.h>
|
2015-03-01 12:04:28 +01:00
|
|
|
#endif
|
|
|
|
#ifdef HAVE_SYS_UTSNAME_H
|
|
|
|
#include <sys/utsname.h>
|
2017-06-23 08:38:29 +02:00
|
|
|
Index: modsecurity-2.9.0/apache2/msc_remote_rules.c
|
|
|
|
===================================================================
|
2015-03-01 12:04:28 +01:00
|
|
|
--- modsecurity-2.9.0.orig/apache2/msc_remote_rules.c
|
|
|
|
+++ modsecurity-2.9.0/apache2/msc_remote_rules.c
|
|
|
|
@@ -792,6 +792,7 @@ next:
|
|
|
|
"compilation.";
|
|
|
|
return -1;
|
|
|
|
#endif
|
|
|
|
+ return -1;
|
|
|
|
}
|
|
|
|
|
|
|
|
|
2017-06-23 08:38:29 +02:00
|
|
|
Index: modsecurity-2.9.0/apache2/msc_util.c
|
|
|
|
===================================================================
|
2015-03-01 12:04:28 +01:00
|
|
|
--- modsecurity-2.9.0.orig/apache2/msc_util.c
|
|
|
|
+++ modsecurity-2.9.0/apache2/msc_util.c
|
|
|
|
@@ -18,6 +18,7 @@
|
|
|
|
#include <stdlib.h>
|
|
|
|
#include <sys/types.h>
|
|
|
|
#include <sys/stat.h>
|
|
|
|
+#include <arpa/inet.h>
|
|
|
|
|
|
|
|
#include "msc_release.h"
|
|
|
|
#include "msc_util.h"
|