aboutsummaryrefslogtreecommitdiff
path: root/security/wazuh-manager/files/patch-src_rootcheck_os__string.c
blob: 45c9be82edc80180f1e7cd2baaf24626e56317bf (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
--- src/rootcheck/os_string.c.orig	2023-05-12 12:30:40 UTC
+++ src/rootcheck/os_string.c
@@ -42,6 +42,9 @@
 #include <locale.h>
 #include <unistd.h>
 #include <netinet/in.h>
+#ifdef __FreeBSD__
+#define __LDPGSZ         4096
+#endif
 
 #ifdef SOLARIS
 #include <sys/exechdr.h>