Update libwebsockets.h
authorhgrundy <harrison.grundy@astrodoggroup.com>
Thu, 21 Apr 2016 09:20:10 +0000 (17:20 +0800)
committerAndy Green <andy@warmcat.com>
Thu, 21 Apr 2016 09:52:39 +0000 (17:52 +0800)
Fix for FreeBSD

lib/libwebsockets.h

index 1484739..7c5a9ef 100644 (file)
@@ -151,7 +151,7 @@ struct sockaddr_in;
 #else /* NOT WIN32 */
 #include <unistd.h>
 
-#if defined(__NetBSD__)
+#if defined(__NetBSD__) || defined(__FreeBSD__)
 #include <netinet/in.h>
 #endif