From d6c5d24af3627ec12721e7d286d426ed12901b55 Mon Sep 17 00:00:00 2001 From: Yang Tse Date: Sun, 18 Dec 2005 15:36:14 +0000 Subject: Cleanup windows header includes. Where aplicable, inclusion of windows.h winsock.h winsock2.h ws2tcpip.h is done in setup.h --- lib/getenv.c | 5 ----- 1 file changed, 5 deletions(-) (limited to 'lib/getenv.c') diff --git a/lib/getenv.c b/lib/getenv.c index fbf37a992..46b3375d9 100644 --- a/lib/getenv.c +++ b/lib/getenv.c @@ -27,10 +27,6 @@ #include #include -#ifdef WIN32 -#include -#endif - #ifdef VMS #include #endif @@ -47,7 +43,6 @@ char *GetEnv(const char *variable) return NULL; #else #ifdef WIN32 - /* This shit requires windows.h (HUGE) to be included */ char env[MAX_PATH]; /* MAX_PATH is from windef.h */ char *temp = getenv(variable); env[0] = '\0'; -- cgit v1.2.1