summaryrefslogtreecommitdiff
path: root/lib/system.c
diff options
context:
space:
mode:
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.
*/