time.h and sys/time.h inclusion conditionally done in setup_once.h

This commit is contained in:
Yang Tse
2011-07-25 04:08:08 +02:00
parent 0a26b0e3e7
commit 0337b87197
15 changed files with 1 additions and 64 deletions

View File

@@ -32,16 +32,12 @@
#include <ctype.h>
#ifdef WIN32
#include <time.h>
#include <io.h>
#else
#ifdef HAVE_SYS_SOCKET_H
#include <sys/socket.h>
#endif
#include <netinet/in.h>
#ifdef HAVE_SYS_TIME_H
#include <sys/time.h>
#endif
#ifdef HAVE_UNISTD_H
#include <unistd.h>
#endif