Replace winsock2.h and undef NS_ALL with sys/socket.h to prevent

multiple occurences undef NS_ALL from nesting include files.
This commit is contained in:
Ron Koenderink 2007-08-20 20:18:33 +00:00
parent 7d53597331
commit 6ea6cd55e6

View file

@ -43,8 +43,6 @@
*/
#include <config.h>
#include <winsock2.h>
#undef NS_ALL
#include <io.h>
#include <sys/stat.h>
#include <fcntl.h>
@ -55,6 +53,7 @@
#include <errno.h>
#include "unistd.h"
#include "sys/socket.h"
#include "sys/uio.h"
#include "misc.h"