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

netinet/tcp.h may require netinet/in.h to be include before

parent 6b33a5f9
No related branches found
No related tags found
No related merge requests found
......@@ -1038,6 +1038,9 @@ dnl default includes
#ifdef HAVE_SYS_SOCKET_H
#include <sys/socket.h>
#endif
#ifdef HAVE_NETINET_IN_H
#include <netinet/in.h>
#endif
]
)
......
......@@ -32,10 +32,15 @@
#ifdef HAVE_SYS_SOCKET_H
#include <sys/socket.h>
#endif
#ifdef HAVE_NETINET_IN_H
#include <netinet/in.h> /* <netinet/tcp.h> may need it */
#endif
#ifdef HAVE_NETINET_TCP_H
#include <netinet/tcp.h> /* for TCP_NODELAY */
#endif
#ifdef HAVE_SYS_IOCTL_H
#include <sys/ioctl.h>
#endif
#ifdef HAVE_UNISTD_H
#include <unistd.h>
#endif
......
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