]> git.ipfire.org Git - thirdparty/gnutls.git/commitdiff
fixed for win32
authorNikos Mavrogiannopoulos <nmav@gnutls.org>
Thu, 21 Nov 2013 21:15:27 +0000 (22:15 +0100)
committerNikos Mavrogiannopoulos <nmav@gnutls.org>
Thu, 21 Nov 2013 21:24:23 +0000 (22:24 +0100)
lib/system.c

index b41ba7ed1e6a74f895b4377e8f558d39636fa3f0..930333c45e3a8a1a4ab15505c2dfb3da51a45053 100644 (file)
  *
  */
 
+#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.
  */