Commit 43137cf5 authored by Daniel Stenberg's avatar Daniel Stenberg
Browse files

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

parent db6dc49b
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -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 \
+2 −0
Original line number Diff line number Diff line
@@ -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>