From 983f3d70f9610a35f279b656a3322087e272f2a6 Mon Sep 17 00:00:00 2001 From: Yang Tse Date: Mon, 25 Jul 2011 05:30:14 +0200 Subject: WIN32 io.h and fcntl.h inclusion done in setup_once.h --- lib/tftp.c | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) (limited to 'lib/tftp.c') diff --git a/lib/tftp.c b/lib/tftp.c index 5bb0bd5b3..73ce7aa08 100644 --- a/lib/tftp.c +++ b/lib/tftp.c @@ -29,17 +29,18 @@ #include #include -#if defined(WIN32) -#include -#else #ifdef HAVE_SYS_SOCKET_H #include #endif +#ifdef HAVE_NETINET_IN_H #include +#endif #ifdef HAVE_UNISTD_H #include #endif +#ifdef HAVE_NETDB_H #include +#endif #ifdef HAVE_ARPA_INET_H #include #endif @@ -54,8 +55,6 @@ #include #endif -#endif /* WIN32 */ - #include "urldata.h" #include #include "transfer.h" -- cgit v1.2.3