1
0
mirror of https://github.com/moparisthebest/curl synced 2024-12-21 23:58:49 -05:00

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

This commit is contained in:
Daniel Stenberg 2004-03-26 07:10:15 +00:00
parent db6dc49b0b
commit 43137cf595
2 changed files with 3 additions and 0 deletions

View File

@ -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 \

View File

@ -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>