diff options
author | Francesco Colista <fcolista@alpinelinux.org> | 2016-11-18 11:12:45 +0000 |
---|---|---|
committer | Francesco Colista <fcolista@alpinelinux.org> | 2016-11-18 11:12:45 +0000 |
commit | ff3e49527638e6626787ab170c101372afc3b89b (patch) | |
tree | d6d40f58c47b8f769a573f587939eea88ad53b56 /testing/ossec-hids/00_a-out-h-path.patch | |
parent | d169fea9cece34c40f266c14e3658c68c130bfe1 (diff) | |
download | aports-ff3e49527638e6626787ab170c101372afc3b89b.tar.bz2 aports-ff3e49527638e6626787ab170c101372afc3b89b.tar.xz |
testing/ossec-hids: fix build on aarch64
Diffstat (limited to 'testing/ossec-hids/00_a-out-h-path.patch')
-rw-r--r-- | testing/ossec-hids/00_a-out-h-path.patch | 11 |
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 |