aboutsummaryrefslogtreecommitdiff
path: root/src/main.c
diff options
context:
space:
mode:
authorYang Tse <yangsita@gmail.com>2005-12-18 15:36:14 +0000
committerYang Tse <yangsita@gmail.com>2005-12-18 15:36:14 +0000
commitd6c5d24af3627ec12721e7d286d426ed12901b55 (patch)
treefde31d9d7ef60d7edeb515ce82591a6283c0923b /src/main.c
parent8a3280a2de29f1136e6f3986c670002b038ac903 (diff)
Cleanup windows header includes. Where aplicable, inclusion of
windows.h winsock.h winsock2.h ws2tcpip.h is done in setup.h
Diffstat (limited to 'src/main.c')
-rw-r--r--src/main.c8
1 files changed, 2 insertions, 6 deletions
diff --git a/src/main.c b/src/main.c
index a9a0c30fc..51e3413fb 100644
--- a/src/main.c
+++ b/src/main.c
@@ -47,10 +47,6 @@
#define CURLseparator "--_curl_--"
-#if defined(WIN32)&&!defined(__CYGWIN32__)
-#include <winsock2.h>
-#endif
-
#ifdef __NOVELL_LIBC__
#include <screen.h>
#endif
@@ -2380,7 +2376,7 @@ static void parseconfig(const char *filename,
}
else {
/* Get the filename of our executable. GetModuleFileName is
- * defined in windows.h, which is #included into libcurl.
+ * already declared via inclusions done in setup header file.
* We assume that we are using the ASCII version here.
*/
int n = GetModuleFileName(0, filebuffer, sizeof(filebuffer));
@@ -3114,7 +3110,7 @@ static void free_config_fields(struct Configurable *config)
#if defined(WIN32) && !defined(__CYGWIN32__)
/* Function to find CACert bundle on a Win32 platform using SearchPath.
- * (SearchPath is defined in windows.h, which is #included into libcurl)
+ * (SearchPath is already declared via inclusions done in setup header file)
* (Use the ASCII version instead of the unicode one!)
* The order of the directories it searches is:
* 1. application's directory