Commit 6e04f591 authored by Francois Gouget's avatar Francois Gouget Committed by Alexandre Julliard

Fix the Solaris and FreeBSD compilation errors introduced by the

recent winsock update.
parent 5ba7438d
...@@ -11,12 +11,22 @@ ...@@ -11,12 +11,22 @@
#include "config.h" #include "config.h"
#include <arpa/inet.h>
#include <netdb.h>
#include <netinet/in.h>
#include <stdio.h> #include <stdio.h>
#include <string.h> #include <string.h>
#include <sys/types.h>
#ifdef HAVE_SYS_SOCKET_H
#include <sys/socket.h> #include <sys/socket.h>
#endif
#ifdef HAVE_NETINET_IN_H
# include <netinet/in.h>
#endif
#ifdef HAVE_ARPA_INET_H
#include <arpa/inet.h>
#endif
#ifdef HAVE_NETDB_H
#include <netdb.h>
#endif
#include "winbase.h" #include "winbase.h"
#include "winnls.h" #include "winnls.h"
......
...@@ -28,27 +28,32 @@ ...@@ -28,27 +28,32 @@
#include "config.h" #include "config.h"
#include <errno.h>
#include <string.h> #include <string.h>
#include <sys/types.h>
#include "windef.h"
#include "winbase.h"
#include "debugtools.h"
#include "winsock2.h"
#include "winnt.h"
#include "wscontrol.h"
#include <ctype.h> #include <ctype.h>
#include <fcntl.h> #include <fcntl.h>
#include <sys/ioctl.h>
#include <stdio.h> #include <stdio.h>
#include <stdlib.h> #include <stdlib.h>
#include <unistd.h> #include <unistd.h>
#include <sys/ioctl.h>
#include <sys/types.h>
#ifdef HAVE_SYS_SOCKET_H
#include <sys/socket.h>
#endif
#ifdef HAVE_SYS_SOCKIO_H #ifdef HAVE_SYS_SOCKIO_H
# include <sys/sockio.h> # include <sys/sockio.h>
#endif #endif
#ifdef HAVE_NET_IF_H #ifdef HAVE_NET_IF_H
# include <net/if.h> # include <net/if.h>
#endif #endif
#include <errno.h>
#include "windef.h"
#include "winbase.h"
#include "debugtools.h"
#include "winsock2.h"
#include "winnt.h"
#include "wscontrol.h"
#ifdef __NetBSD__ #ifdef __NetBSD__
#undef if_type #undef if_type
......
...@@ -11,7 +11,6 @@ ...@@ -11,7 +11,6 @@
#include <sys/types.h> #include <sys/types.h>
#include <sys/uio.h> #include <sys/uio.h>
#include "winsock2.h"
#include "winnt.h" #include "winnt.h"
#include "winbase.h" #include "winbase.h"
#include "wincon.h" #include "wincon.h"
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment