Commit 983f3d70 authored by Yang Tse's avatar Yang Tse
Browse files

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

parent 0337b871
Loading
Loading
Loading
Loading
+4 −6
Original line number Diff line number Diff line
@@ -31,17 +31,18 @@
#include <stdlib.h>
#include <ctype.h>

#ifdef WIN32
#include <io.h>
#else
#ifdef HAVE_SYS_SOCKET_H
#include <sys/socket.h>
#endif
#ifdef HAVE_NETINET_IN_H
#include <netinet/in.h>
#endif
#ifdef HAVE_UNISTD_H
#include <unistd.h>
#endif
#ifdef HAVE_NETDB_H
#include <netdb.h>
#endif
#ifdef HAVE_ARPA_INET_H
#include <arpa/inet.h>
#endif
@@ -60,9 +61,6 @@
#include <sys/select.h>
#endif


#endif

#include "urldata.h"
#include <curl/curl.h>
#include "transfer.h"
+1 −7
Original line number Diff line number Diff line
@@ -29,11 +29,6 @@
#include <stdlib.h>
#include <ctype.h>

#include "strequal.h"

#ifdef WIN32
#include <io.h>
#else
#ifdef HAVE_SYS_SOCKET_H
#include <sys/socket.h>
#endif
@@ -60,8 +55,7 @@
#include <sys/param.h>
#endif

#endif  /* WIN32 ... */

#include "strequal.h"
#include "urldata.h"
#include <curl/curl.h>
#include "transfer.h"
+0 −6
Original line number Diff line number Diff line
@@ -30,10 +30,6 @@
#include <stdlib.h>
#include <ctype.h>

#ifdef WIN32
#include <io.h>
#include <fcntl.h>
#else
#ifdef HAVE_SYS_SOCKET_H
#include <sys/socket.h>
#endif
@@ -64,8 +60,6 @@
#include <fcntl.h>
#endif

#endif /* WIN32 */

#include "strtoofft.h"
#include "urldata.h"
#include <curl/curl.h>
+4 −6
Original line number Diff line number Diff line
@@ -31,17 +31,18 @@
#include <stdlib.h>
#include <ctype.h>

#ifdef WIN32
#include <io.h>
#else
#ifdef HAVE_SYS_SOCKET_H
#include <sys/socket.h>
#endif
#ifdef HAVE_NETINET_IN_H
#include <netinet/in.h>
#endif
#ifdef HAVE_UNISTD_H
#include <unistd.h>
#endif
#ifdef HAVE_NETDB_H
#include <netdb.h>
#endif
#ifdef HAVE_ARPA_INET_H
#include <arpa/inet.h>
#endif
@@ -60,9 +61,6 @@
#include <sys/select.h>
#endif


#endif

#include "urldata.h"
#include <curl/curl.h>
#include "transfer.h"
+0 −5
Original line number Diff line number Diff line
@@ -30,9 +30,6 @@
#include <stdlib.h>
#include <ctype.h>

#ifdef WIN32
#include <io.h>
#else
#ifdef HAVE_SYS_SOCKET_H
#include <sys/socket.h>
#endif
@@ -60,8 +57,6 @@
#include <sys/param.h>
#endif

#endif

#include "urldata.h"
#include <curl/curl.h>
#include "transfer.h"
Loading