aboutsummaryrefslogtreecommitdiffstats
path: root/testing/ossec-hids/musl_lack_of_a_out_h.patch
blob: 2660c2a5cc4a25c7811043e549dd3c47a2f33ae3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
--- a/src/rootcheck/os_string.c.old	2017-05-03 21:21:43.796000000 +0000
+++ b/src/rootcheck/os_string.c	2017-05-03 21:22:28.128000000 +0000
@@ -54,7 +54,8 @@
 #ifdef SOLARIS
 #include <sys/exechdr.h>
 
-#elif defined Darwin || defined HPUX
+// linux here means musl-linux
+#elif defined Darwin || defined HPUX || defined linux
 
 /* For some reason darwin does not have that */
 struct exec