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:
parent
7d53597331
commit
6ea6cd55e6
1 changed files with 1 additions and 2 deletions
|
@ -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"
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue