ports/net/ndpi/files/patch-src_lib_ndpi__main.c
Guido Falsi a169ea5c35 - Update net/ndpi to 2.8.d20190301
- Update net/ntopng to 3.8.d20190301
- Remove trailing whitespacce in pkg-descr
2019-03-12 19:47:48 +00:00

13 lines
359 B
C

--- src/lib/ndpi_main.c.orig 2019-03-01 17:04:18 UTC
+++ src/lib/ndpi_main.c
@@ -41,6 +41,10 @@
#include <unistd.h>
#endif
+#if defined __FreeBSD__ || defined __NetBSD__ || defined __OpenBSD__
+#include <sys/endian.h>
+#endif
+
#include "ndpi_content_match.c.inc"
#include "third_party/include/ndpi_patricia.h"
#include "third_party/include/ht_hash.h"