Skip to content
Snippets Groups Projects
Commit f33f8eee authored by Dan Fandrich's avatar Dan Fandrich
Browse files

Make sure sys/socket.h is included before netinet/in.h (required by

OpenWatcom C)
parent 31a3f064
No related branches found
No related tags found
No related merge requests found
......@@ -51,8 +51,8 @@
# include <winsock2.h>
# include <ws2tcpip.h>
#else
#include <netinet/in.h>
#include <sys/socket.h>
#include <netinet/in.h>
#endif
#ifdef __cplusplus
......
......@@ -17,6 +17,9 @@
#include "setup.h"
#ifdef HAVE_SYS_SOCKET_H
# include <sys/socket.h>
#endif
#ifdef HAVE_NETINET_IN_H
# include <netinet/in.h>
#endif
......
......@@ -17,6 +17,9 @@
#include "setup.h"
#ifdef HAVE_SYS_SOCKET_H
# include <sys/socket.h>
#endif
#ifdef HAVE_NETINET_IN_H
# include <netinet/in.h>
#endif
......
......@@ -17,6 +17,9 @@
#include "setup.h"
#ifdef HAVE_SYS_SOCKET_H
# include <sys/socket.h>
#endif
#ifdef HAVE_NETINET_IN_H
# include <netinet/in.h>
#endif
......
......@@ -17,6 +17,9 @@
#include "setup.h"
#ifdef HAVE_SYS_SOCKET_H
# include <sys/socket.h>
#endif
#ifdef HAVE_NETINET_IN_H
# include <netinet/in.h>
#endif
......
......@@ -17,6 +17,9 @@
#include "setup.h"
#ifdef HAVE_SYS_SOCKET_H
# include <sys/socket.h>
#endif
#ifdef HAVE_NETINET_IN_H
# include <netinet/in.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