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:50:55 +0000 (17:50 +0800)
Fix for FreeBSD

lib/libwebsockets.h

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