diff options
author | Nikos Mavrogiannopoulos <nmav@gnutls.org> | 2013-11-21 22:15:27 +0100 |
---|---|---|
committer | Nikos Mavrogiannopoulos <nmav@gnutls.org> | 2013-11-21 22:24:23 +0100 |
commit | 255de8917e948fbfb5948465b96336ce9c88fa2e (patch) | |
tree | 2d454986b5031aea01cd8519756f0eafb8f20ae2 /lib/system.c | |
parent | 492e51735ad32b7d164ce4fae16ed7a4db0aa98c (diff) | |
download | gnutls-255de8917e948fbfb5948465b96336ce9c88fa2e.tar.gz |
fixed for win32
Diffstat (limited to 'lib/system.c')
-rw-r--r-- | lib/system.c | 9 |
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. */ |