mirror of
https://github.com/curl/curl.git
synced 2026-08-26 04:13:31 +03:00
WIN32 io.h and fcntl.h inclusion done in setup_once.h
This commit is contained in:
parent
0337b87197
commit
983f3d70f9
10 changed files with 18 additions and 52 deletions
10
lib/gopher.c
10
lib/gopher.c
|
|
@ -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"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue