Skip to content
Snippets Groups Projects
Commit 43137cf5 authored by Daniel Stenberg's avatar Daniel Stenberg
Browse files

check for netinet/tcp.h precense before actually including it

parent db6dc49b
No related branches found
No related tags found
No related merge requests found
......@@ -1001,6 +1001,7 @@ AC_CHECK_HEADERS(
arpa/inet.h \
net/if.h \
netinet/in.h \
netinet/tcp.h \
netdb.h \
sys/sockio.h \
sys/stat.h \
......
......@@ -31,6 +31,8 @@
#endif
#ifdef HAVE_SYS_SOCKET_H
#include <sys/socket.h>
#endif
#ifdef HAVE_NETINET_TCP_H
#include <netinet/tcp.h> /* for TCP_NODELAY */
#endif
#include <sys/ioctl.h>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment