diff options
author | Nikos Mavrogiannopoulos <nmav@gnutls.org> | 2015-06-20 12:09:14 +0200 |
---|---|---|
committer | Nikos Mavrogiannopoulos <nmav@gnutls.org> | 2015-06-20 12:13:51 +0200 |
commit | 7f64118da5013d302824e9cfc89b6d89b87c90a8 (patch) | |
tree | a363958e0fc0b8f4a60ba89a6c364d54495e0e4a /tests/mini-dtls-pthread.c | |
parent | b54e6363867dd7cc94d097faca8e5f8336cfaaad (diff) | |
download | gnutls-7f64118da5013d302824e9cfc89b6d89b87c90a8.tar.gz |
tests: don't depend on gnulib
That dependency unfortunately causes many portability problems
on platforms where it should have worked out of the box.
Diffstat (limited to 'tests/mini-dtls-pthread.c')
-rw-r--r-- | tests/mini-dtls-pthread.c | 12 |
1 files changed, 7 insertions, 5 deletions
diff --git a/tests/mini-dtls-pthread.c b/tests/mini-dtls-pthread.c index 62da039012..64cbba50f5 100644 --- a/tests/mini-dtls-pthread.c +++ b/tests/mini-dtls-pthread.c @@ -33,11 +33,13 @@ #include <gnutls/dtls.h> #include <signal.h> #include <unistd.h> -#include <netinet/in.h> -#include <sys/types.h> -#include <sys/socket.h> -#include <sys/wait.h> -#include <pthread.h> +#ifndef _WIN32 +# include <netinet/in.h> +# include <sys/types.h> +# include <sys/socket.h> +# include <sys/wait.h> +# include <pthread.h> +#endif #include "utils.h" #ifdef _WIN32 |