diff options
author | Nikos Mavrogiannopoulos <nmav@gnutls.org> | 2011-10-26 22:47:37 +0200 |
---|---|---|
committer | Nikos Mavrogiannopoulos <nmav@gnutls.org> | 2011-10-26 22:47:37 +0200 |
commit | b9da2448022a1e095e1a59e898a07d3ade8e8bcf (patch) | |
tree | 12cc2f8787ca664b9429588fb7447315b96074c5 /src/common.h | |
parent | 0882b6466976d04e1df93bce6fc9dcd8653a1e2f (diff) | |
download | gnutls-b9da2448022a1e095e1a59e898a07d3ade8e8bcf.tar.gz |
netinet headers were put on an ifndef _WIN32.
Diffstat (limited to 'src/common.h')
-rw-r--r-- | src/common.h | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/src/common.h b/src/common.h index 6fa5ab7d72..5d0757ba4e 100644 --- a/src/common.h +++ b/src/common.h @@ -1,13 +1,17 @@ #define PORT 5556 #define SERVER "127.0.0.1" +#include <config.h> #include <gnutls/gnutls.h> #include <sys/socket.h> #include <netdb.h> #include <unistd.h> -#include <netinet/in.h> -#include <netinet/ip.h> +#ifndef _WIN32 +# include <netinet/in.h> +# include <netinet/ip.h> +#endif + #include <signal.h> #ifdef _WIN32 #include <io.h> |