Remove unnecessary include

This commit is contained in:
klondike 2013-08-31 17:46:28 +02:00 committed by Jan Vidar Krey
parent b8209d9d0a
commit bfdf707490

View File

@ -37,6 +37,11 @@
#define NEED_GETOPT #define NEED_GETOPT
#endif #endif
#cmakedefine HAVE_SYS_TYPES_H
#ifdef HAVE_SYS_TYPES_H
#include <sys/types.h>
#endif
#ifdef WINSOCK #ifdef WINSOCK
#ifndef FD_SETSIZE #ifndef FD_SETSIZE
#define FD_SETSIZE 4096 #define FD_SETSIZE 4096
@ -44,7 +49,6 @@
#include <winsock2.h> #include <winsock2.h>
#include <ws2tcpip.h> #include <ws2tcpip.h>
#else #else
#include <sys/types.h>
#include <sys/time.h> #include <sys/time.h>
#include <arpa/inet.h> #include <arpa/inet.h>
#include <netdb.h> #include <netdb.h>
@ -68,10 +72,6 @@
#include <string.h> #include <string.h>
#include <time.h> #include <time.h>
#cmakedefine HAVE_SYS_TYPES_H
#ifdef HAVE_SYS_TYPES_H
#include <sys/types.h>
#endif
#if !defined(WIN32) #if !defined(WIN32)
#include <inttypes.h> #include <inttypes.h>
#include <unistd.h> #include <unistd.h>