WIN32 io.h and fcntl.h inclusion done in setup_once.h

This commit is contained in:
Yang Tse 2011-07-25 05:30:14 +02:00
parent 0337b87197
commit 983f3d70f9
10 changed files with 18 additions and 52 deletions

View file

@ -25,6 +25,7 @@
#include "setup.h"
#ifdef USE_LIBSSH2
#include <stdio.h>
#include <string.h>
#include <stdlib.h>
@ -45,7 +46,6 @@
#include <fcntl.h>
#endif
#ifndef WIN32
#ifdef HAVE_SYS_SOCKET_H
#include <sys/socket.h>
#endif
@ -65,7 +65,6 @@
#include <in.h>
#include <inet.h>
#endif
#endif /* !WIN32 */
#if (defined(NETWARE) && defined(__NOVELL_LIBC__))
#undef in_addr_t