aboutsummaryrefslogtreecommitdiffstats
path: root/testing/ossec-hids/00_a-out-h-path.patch
diff options
context:
space:
mode:
Diffstat (limited to 'testing/ossec-hids/00_a-out-h-path.patch')
-rw-r--r--testing/ossec-hids/00_a-out-h-path.patch11
1 files changed, 7 insertions, 4 deletions
diff --git a/testing/ossec-hids/00_a-out-h-path.patch b/testing/ossec-hids/00_a-out-h-path.patch
index b9e5a246cd..ad3be104c5 100644
--- a/testing/ossec-hids/00_a-out-h-path.patch
+++ b/testing/ossec-hids/00_a-out-h-path.patch
@@ -1,13 +1,16 @@
diff --git a/src/rootcheck/os_string.c b/src/rootcheck/os_string.c
-index 069f5bd..e5aafca 100755
+index 069f5bd..a240932 100755
--- a/src/rootcheck/os_string.c
+++ b/src/rootcheck/os_string.c
-@@ -78,7 +78,7 @@ struct exec
+@@ -77,8 +77,9 @@ struct exec
+ #define M_OLDSUN2 0
#else
-
+-
-#include <a.out.h>
-+#include <linux/a.out.h>
++ #if !defined (__aarch64__)
++ #include <linux/a.out.h>
++ #endif
#endif