diff options
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)
-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> |