diff options
author | Yang Tse <yangsita@gmail.com> | 2005-12-18 15:36:14 +0000 |
---|---|---|
committer | Yang Tse <yangsita@gmail.com> | 2005-12-18 15:36:14 +0000 |
commit | d6c5d24af3627ec12721e7d286d426ed12901b55 (patch) | |
tree | fde31d9d7ef60d7edeb515ce82591a6283c0923b /lib/getenv.c | |
parent | 8a3280a2de29f1136e6f3986c670002b038ac903 (diff) | |
download | curl-d6c5d24af3627ec12721e7d286d426ed12901b55.tar.gz |
Cleanup windows header includes. Where aplicable, inclusion of
windows.h winsock.h winsock2.h ws2tcpip.h is done in setup.h
Diffstat (limited to 'lib/getenv.c')
-rw-r--r-- | lib/getenv.c | 5 |
1 files changed, 0 insertions, 5 deletions
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 <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'; |