summaryrefslogtreecommitdiff
path: root/lib/gnutls_buffers.c
diff options
context:
space:
mode:
authorNikos Mavrogiannopoulos <nmav@gnutls.org>2003-11-06 19:57:16 +0000
committerNikos Mavrogiannopoulos <nmav@gnutls.org>2003-11-06 19:57:16 +0000
commita6bc25dcac9e81aafa0761e9ef4aaed2291abc89 (patch)
treebf9d458563efd32687cedb1b5e03e51c1e8f006e /lib/gnutls_buffers.c
parent942db004726ceea6bfa2eb6c71b9df7f609a65d2 (diff)
downloadgnutls-a6bc25dcac9e81aafa0761e9ef4aaed2291abc89.tar.gz
some changes to compile in mingw32.
Diffstat (limited to 'lib/gnutls_buffers.c')
-rw-r--r--lib/gnutls_buffers.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/gnutls_buffers.c b/lib/gnutls_buffers.c
index 46b901ba13..6b1b5570fa 100644
--- a/lib/gnutls_buffers.c
+++ b/lib/gnutls_buffers.c
@@ -54,6 +54,10 @@
# include <errno.h>
#endif
+#ifdef _WIN32
+# include <winsock2.h>
+#endif
+
#ifndef EAGAIN
# define EAGAIN EWOULDBLOCK
#endif