Cleanup windows header includes. Where aplicable, inclusion of

windows.h winsock.h winsock2.h ws2tcpip.h is done in setup.h
This commit is contained in:
Yang Tse
2005-12-18 15:36:14 +00:00
parent 8a3280a2de
commit d6c5d24af3
10 changed files with 4 additions and 29 deletions

View File

@@ -27,10 +27,6 @@
#include <stdlib.h>
#include <string.h>
#ifdef WIN32
#include <windows.h>
#endif
#ifdef VMS
#include <unixlib.h>
#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';