add include for gettimeofday even without ssl
authorAndy Green <andy@warmcat.com>
Mon, 14 Feb 2011 20:58:26 +0000 (20:58 +0000)
committerAndy Green <andy@warmcat.com>
Mon, 14 Feb 2011 20:58:26 +0000 (20:58 +0000)
Signed-off-by: Andy Green <andy@warmcat.com>
lib/private-libwebsockets.h

index 2f0dd2d..0b4cc18 100644 (file)
@@ -41,6 +41,7 @@
 
 #include <poll.h>
 #include <sys/mman.h>
+#include <sys/time.h>
 
 #ifdef LWS_OPENSSL_SUPPORT
 #include <openssl/ssl.h>