aboutsummaryrefslogtreecommitdiff
path: root/lib/url.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/url.c')
-rw-r--r--lib/url.c9
1 files changed, 2 insertions, 7 deletions
diff --git a/lib/url.c b/lib/url.c
index e777d2a1f..64a145cdb 100644
--- a/lib/url.c
+++ b/lib/url.c
@@ -30,12 +30,6 @@
#include <stdarg.h>
#include <stdlib.h>
#include <ctype.h>
-#ifdef HAVE_SYS_TYPES_H
-#include <sys/types.h>
-#endif
-#ifdef HAVE_SYS_STAT_H
-#include <sys/stat.h>
-#endif
#include <errno.h>
#ifdef WIN32
@@ -78,7 +72,8 @@
#ifndef HAVE_SOCKET
#error "We can't compile without socket() support!"
#endif
-#endif
+
+#endif /* WIN32 */
#ifdef USE_LIBIDN
#include <idna.h>