aboutsummaryrefslogtreecommitdiffstats
path: root/community/ossec-hids-local/musl_lack_of_a_out_h.patch
diff options
context:
space:
mode:
Diffstat (limited to 'community/ossec-hids-local/musl_lack_of_a_out_h.patch')
-rw-r--r--community/ossec-hids-local/musl_lack_of_a_out_h.patch13
1 files changed, 13 insertions, 0 deletions
diff --git a/community/ossec-hids-local/musl_lack_of_a_out_h.patch b/community/ossec-hids-local/musl_lack_of_a_out_h.patch
new file mode 100644
index 00000000000..a4d2b12a619
--- /dev/null
+++ b/community/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 {