summaryrefslogtreecommitdiff
path: root/lib/system.c
diff options
context:
space:
mode:
authorNikos Mavrogiannopoulos <nmav@gnutls.org>2013-11-21 22:15:27 +0100
committerNikos Mavrogiannopoulos <nmav@gnutls.org>2013-11-21 22:24:23 +0100
commit255de8917e948fbfb5948465b96336ce9c88fa2e (patch)
tree2d454986b5031aea01cd8519756f0eafb8f20ae2 /lib/system.c
parent492e51735ad32b7d164ce4fae16ed7a4db0aa98c (diff)
downloadgnutls-255de8917e948fbfb5948465b96336ce9c88fa2e.tar.gz
fixed for win32
Diffstat (limited to 'lib/system.c')
-rw-r--r--lib/system.c9
1 files changed, 3 insertions, 6 deletions
diff --git a/lib/system.c b/lib/system.c
index b41ba7ed1e..930333c45e 100644
--- a/lib/system.c
+++ b/lib/system.c
@@ -20,10 +20,13 @@
*
*/
+#include <config.h>
#include <system.h>
#include <gnutls_int.h>
#include <gnutls_errors.h>
+#include <sys/socket.h>
+#include <sys/select.h>
#include <errno.h>
#include <sys/stat.h>
#include <sys/types.h>
@@ -52,12 +55,6 @@ static HMODULE Crypt32_dll;
#endif
#endif
-/* We need to disable gnulib's replacement wrappers to get native
- Windows interfaces. */
-#undef recv
-#undef send
-#undef select
-
/* System specific function wrappers.
*/