]> granicus.if.org Git - curl/commitdiff
gopher: #include cleanup
authorDaniel Stenberg <daniel@haxx.se>
Wed, 12 Dec 2012 10:07:30 +0000 (11:07 +0100)
committerDaniel Stenberg <daniel@haxx.se>
Wed, 12 Dec 2012 10:08:01 +0000 (11:08 +0100)
Remove all system file includes from this file as they're not needed

Reported by: Dan Fandrich

lib/gopher.c

index ac0397fe15888f90938301dcbb3c8845e840fa10..e8f2790fc485409d99d235c1de4dd58be8d6c07f 100644 (file)
 
 #ifndef CURL_DISABLE_GOPHER
 
-#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
-#ifdef HAVE_NET_IF_H
-#include <net/if.h>
-#endif
-#ifdef HAVE_SYS_IOCTL_H
-#include <sys/ioctl.h>
-#endif
-
-#ifdef HAVE_SYS_PARAM_H
-#include <sys/param.h>
-#endif
-
-#ifdef HAVE_SYS_SELECT_H
-#include <sys/select.h>
-#endif
-
 #include "urldata.h"
 #include <curl/curl.h>
 #include "transfer.h"