]> git.ipfire.org Git - thirdparty/freeswitch.git/commitdiff
FS-8777 #resolve FreeBSD: mod_redis/credis.c missing netinet/in.h include
authorCorey Smith <corsmith@gmail.com>
Wed, 27 Jan 2016 02:13:31 +0000 (21:13 -0500)
committerCorey Smith <corsmith@gmail.com>
Wed, 27 Jan 2016 02:13:31 +0000 (21:13 -0500)
src/mod/applications/mod_redis/credis.c

index 2ab33698eed568341766c78adf00e706b2aa2c5f..9b011a6c7dc253e83986fbcde2507fd0ddd7ced7 100644 (file)
@@ -45,6 +45,9 @@
 #include <sys/socket.h>
 #include <netdb.h>
 #include <netinet/tcp.h>
+#if defined(__FreeBSD__)
+#include <netinet/in.h>
+#endif
 #include <arpa/inet.h>
 #endif
 #include <fcntl.h>