aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/homedir.c3
-rw-r--r--src/main.c8
2 files changed, 2 insertions, 9 deletions
diff --git a/src/homedir.c b/src/homedir.c
index e9b6db3be..f27aa6924 100644
--- a/src/homedir.c
+++ b/src/homedir.c
@@ -27,9 +27,6 @@
#include <stdlib.h>
#include <string.h>
-#ifdef WIN32
-#include <windows.h>
-#endif
#ifdef HAVE_PWD_H
#include <pwd.h>
#endif
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