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