From d11917211b5ae98d1434fa6b335458c470d1edf2 Mon Sep 17 00:00:00 2001 From: "Asanka C. Herath" Date: Thu, 18 Nov 2010 20:43:13 -0500 Subject: [PATCH] Windows: Older Windows SDKs need Older SDKs need to be included before --- include/bits.c | 2 ++ lib/roken/roken.h.in | 4 ---- 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/include/bits.c b/include/bits.c index d87c5ca95..447e4d977 100644 --- a/include/bits.c +++ b/include/bits.c @@ -42,6 +42,7 @@ RCSID("$Id$"); #include #include #ifdef WIN32 +#include #include #endif @@ -165,6 +166,7 @@ int main(int argc, char **argv) #ifndef WIN32 fprintf(f, "#include \n"); #else + fprintf(f, "#include \n"); fprintf(f, "#include \n"); #endif #endif diff --git a/lib/roken/roken.h.in b/lib/roken/roken.h.in index 5a849d316..69fd64e33 100644 --- a/lib/roken/roken.h.in +++ b/lib/roken/roken.h.in @@ -249,10 +249,6 @@ struct sockaddr_dl; #include #endif -#ifdef HAVE_WS2TCPIP_H -#include -#endif - #ifdef HAVE_PATHS_H #include #endif