smp: include pthreads with LWS_MAX_SMP gt 1
diff --git a/lib/libwebsockets.h b/lib/libwebsockets.h
index 026c664..f3fb459 100644
--- a/lib/libwebsockets.h
+++ b/lib/libwebsockets.h
@@ -224,6 +224,8 @@
 
 #if LWS_MAX_SMP > 1
 
+#include <pthread.h>
+
 #define lws_pthread_mutex(name) pthread_mutex_t name;
 
 static LWS_INLINE void