Merge pull request #684 in FS/freeswitch from ~CORSMITH/freeswitch:bugfix/FS-8777-FreeBSD to master

* commit '7129dc32c8599569bc31e737e5072f75c934959d':
  FS-8777 #resolve FreeBSD: mod_redis/credis.c missing netinet/in.h include
This commit is contained in:
Mike Jerris 2016-01-29 11:10:15 -06:00
commit 0d6474be36
1 changed files with 3 additions and 0 deletions

View File

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