diff --git a/includes.h b/includes.h
index bae82f5ffc251d14f9df83e238344e2419bef32d..2a5b6c196f44801a4aa0177b4cb05d208cf68eaf 100644
--- a/includes.h
+++ b/includes.h
@@ -157,6 +157,7 @@ typedef u_int32_t uint32_t;
 #endif /* HAVE_UINT32_T */
 
 #ifdef SO_PRIORITY
+#include <linux/types.h>
 #include <linux/pkt_sched.h>
 #endif