--- src/include/linux_compat.h.bck	2016-02-01 04:20:53.130125595 -0500
+++ src/include/linux_compat.h	2016-02-01 04:21:07.555942679 -0500
@@ -28,6 +28,8 @@
 
 #include "ndpi_define.h"
 
+#include <sys/types.h>
+
 #if defined(__FreeBSD__) || defined(__NetBSD__) || defined(__OpenBSD__)
 #include <machine/endian.h>
 
