aboutsummaryrefslogtreecommitdiff
path: root/security/wazuh-manager/files/patch-src-rootcheck_os_string.c
diff options
context:
space:
mode:
Diffstat (limited to 'security/wazuh-manager/files/patch-src-rootcheck_os_string.c')
-rw-r--r--security/wazuh-manager/files/patch-src-rootcheck_os_string.c12
1 files changed, 12 insertions, 0 deletions
diff --git a/security/wazuh-manager/files/patch-src-rootcheck_os_string.c b/security/wazuh-manager/files/patch-src-rootcheck_os_string.c
new file mode 100644
index 000000000000..7655cc71532e
--- /dev/null
+++ b/security/wazuh-manager/files/patch-src-rootcheck_os_string.c
@@ -0,0 +1,12 @@
+--- src/rootcheck/os_string.c 2022-10-06 08:35:58.000000000 -0500
++++ src/rootcheck/os_string.c 2022-10-30 14:31:56.614900000 -0500
+@@ -42,6 +42,9 @@
+ #include <locale.h>
+ #include <unistd.h>
+ #include <netinet/in.h>
++#ifdef __FreeBSD__
++#include <machine/exec.h>
++#endif
+
+ #ifdef SOLARIS
+ #include <sys/exechdr.h>