vnet: Add required header for pthread_np
[vpp.git] / src / vpp / vnet / main.c
index 3257d9c..192df8f 100644 (file)
@@ -15,6 +15,9 @@
 
 #define _GNU_SOURCE
 #include <pthread.h>
+#ifdef __FreeBSD__
+#include <pthread_np.h>
+#endif /* __FreeBSD__ */
 #include <sched.h>
 
 #include <vppinfra/clib.h>