index
:
ndpi-daemon.git
Tiny nDPI based deep packet inspection daemons / toolkit.
log msg
author
committer
range
add/PF_RING
add/apple-bsd-port
add/config-file-support
add/event-io-abstraction
add/nDPId-UDP-endpoint
add/tls-proxy-support
add/tunnel-decoding
add/udp-aes256-gcm
main
ndpi-example-proposal
tmp
about
summary
refs
log
tree
commit
diff
diff options
context:
1
2
3
4
5
6
7
8
9
10
15
20
25
30
35
40
space:
include
ignore
mode:
unified
ssdiff
stat only
author
Alex Eganov <2491742+alex-eganov@users.noreply.github.com>
2025-02-01 09:02:13 +1100
committer
GitHub <noreply@github.com>
2025-01-31 23:02:13 +0100
commit
e262227d65afa0978e064e38079e26a8c8d478ac
(
patch
)
tree
12ab5668e6bf6bbd7e3bf4d9bba48e0904374658
parent
899e5a80d67610af1ee9c2d0231a9a23ba3248e1
(
diff
)
Fix missing header file for build on freebsd (macos) (#60)
Diffstat
-rw-r--r--
nDPIsrvd.c
3
1 files changed, 3 insertions, 0 deletions
diff --git a/nDPIsrvd.c b/nDPIsrvd.c
index 89f697b85..4e5f7c11d 100644
--- a/
nDPIsrvd.c
+++ b/
nDPIsrvd.c
@@ -1,3 +1,6 @@
+#if defined(__FreeBSD__) || defined(__APPLE__)
+#include <sys/stat.h>
+#endif
#include <arpa/inet.h>
#include <errno.h>
#include <fcntl.h>