summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSimon Josefsson <simon@josefsson.org>2006-01-27 12:51:40 +0000
committerSimon Josefsson <simon@josefsson.org>2006-01-27 12:51:40 +0000
commit986d43b25429edf54a28fd9c30954dd2fbf8eda7 (patch)
tree41ab441a6d1367bb770b5187a545cf4c94425795
parent648a2ee08dbc399b331b815397deb13afeeecff9 (diff)
downloadgnutls-986d43b25429edf54a28fd9c30954dd2fbf8eda7.tar.gz
Mingw32 fixes.
-rw-r--r--src/common.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/common.h b/src/common.h
index c3567b8933..fb1cc9105a 100644
--- a/src/common.h
+++ b/src/common.h
@@ -4,13 +4,12 @@
#include <config.h>
#include <gnutls/gnutls.h>
+#include <sys/socket.h>
#ifdef _WIN32
-# include <winsock.h>
# include <io.h>
# include <winbase.h>
# define close closesocket
#else
-# include <sys/socket.h>
# include <netinet/in.h>
# include <arpa/inet.h>
# include <unistd.h>