Include <sys/time.h> and <unistd.h> inside HAVE_x_H.

This commit is contained in:
Gisle Vanem
2007-02-06 18:54:35 +00:00
parent b9c00a23ce
commit 7ac09a058c
+4
View File
@@ -21,12 +21,16 @@
#if defined(WIN32) && !defined(WATT32)
#include "nameser.h"
#else
#ifdef HAVE_SYS_TIME_H
#include <sys/time.h>
#endif
#include <sys/socket.h>
#include <netinet/in.h>
#include <arpa/inet.h>
#include <arpa/nameser.h>
#ifdef HAVE_UNISTD_H
#include <unistd.h>
#endif
#include <netdb.h>
#endif
#ifdef HAVE_GETOPT_H