[1.5] Import portion of patch from Alex Zimnitsky to fix compilation on FreeBSD
authorMathieu Malaterre <mathieu.malaterre@gmail.com>
Sun, 29 Jul 2012 15:21:39 +0000 (15:21 +0000)
committerMathieu Malaterre <mathieu.malaterre@gmail.com>
Sun, 29 Jul 2012 15:21:39 +0000 (15:21 +0000)
applications/jpip/libopenjpip/sock_manager.c

index e6403f56b6f88c073e29453e059baa23bbb0e6e5..b3e7b625b04f0de3fb2a478c0f1c0449643e5551 100644 (file)
@@ -34,6 +34,9 @@
 #include <sys/types.h>
 #include <sys/socket.h>
 #include <arpa/inet.h>
+#ifdef __FreeBSD__
+#include <netinet/in.h>
+#endif
 #include <unistd.h>
 #endif