aboutsummaryrefslogtreecommitdiffstats
path: root/testing/ossec-hids-local/musl_lack_of_a_out_h.patch
diff options
context:
space:
mode:
Diffstat (limited to 'testing/ossec-hids-local/musl_lack_of_a_out_h.patch')
-rw-r--r--testing/ossec-hids-local/musl_lack_of_a_out_h.patch13
1 files changed, 13 insertions, 0 deletions
diff --git a/testing/ossec-hids-local/musl_lack_of_a_out_h.patch b/testing/ossec-hids-local/musl_lack_of_a_out_h.patch
new file mode 100644
index 0000000000..a4d2b12a61
--- /dev/null
+++ b/testing/ossec-hids-local/musl_lack_of_a_out_h.patch
@@ -0,0 +1,13 @@
+diff --git a/src/rootcheck/os_string.c b/src/rootcheck/os_string.c
+index e7ca284..85b6d9b 100644
+--- a/src/rootcheck/os_string.c
++++ b/src/rootcheck/os_string.c
+@@ -44,7 +44,7 @@
+
+ #ifdef SOLARIS
+ #include <sys/exechdr.h>
+-#elif defined Darwin || defined HPUX
++#elif defined Darwin || defined HPUX || defined linux
+
+ /* For some reason darwin does not have that */
+ struct exec {