diff options
Diffstat (limited to 'libfetch/common.c')
-rw-r--r-- | libfetch/common.c | 15 |
1 files changed, 1 insertions, 14 deletions
diff --git a/libfetch/common.c b/libfetch/common.c index c1e1587..1fbd0d4 100644 --- a/libfetch/common.c +++ b/libfetch/common.c @@ -33,32 +33,19 @@ #if HAVE_CONFIG_H #include "config.h" #endif -#ifndef NETBSD -#include <nbcompat.h> -#endif +#include <poll.h> #include <sys/types.h> #include <sys/socket.h> #include <sys/time.h> #include <sys/uio.h> -#if HAVE_POLL_H -#include <poll.h> -#elif HAVE_SYS_POLL_H -#include <sys/poll.h> -#endif #include <netinet/in.h> #include <arpa/inet.h> #include <ctype.h> #include <errno.h> -#if defined(HAVE_INTTYPES_H) || defined(NETBSD) #include <inttypes.h> -#endif -#ifndef NETBSD -#include <nbcompat/netdb.h> -#else #include <netdb.h> -#endif #include <pwd.h> #include <stdarg.h> #include <stdlib.h> |