diff options
author | Martin Willi <martin@revosec.ch> | 2013-10-11 14:45:56 +0200 |
---|---|---|
committer | Martin Willi <martin@revosec.ch> | 2014-06-03 12:24:34 +0200 |
commit | 922ee2c5292ba898ac1ca72c69e877af307b0bc4 (patch) | |
tree | bfa2860e468daefd2a356e5702fe23f5472b10c1 /src/libstrongswan/networking | |
parent | b4c51061c3c649e948324d1f3ad37ef6e48f8b96 (diff) | |
download | strongswan-922ee2c5292ba898ac1ca72c69e877af307b0bc4.tar.bz2 strongswan-922ee2c5292ba898ac1ca72c69e877af307b0bc4.tar.xz |
windows: Add a common Windows header for platform specific wrappers
Include some more basic system headers in utils.h, so we can use that common
header on the different platforms.
Diffstat (limited to 'src/libstrongswan/networking')
-rw-r--r-- | src/libstrongswan/networking/host.h | 4 | ||||
-rw-r--r-- | src/libstrongswan/networking/host_resolver.c | 2 |
2 files changed, 1 insertions, 5 deletions
diff --git a/src/libstrongswan/networking/host.h b/src/libstrongswan/networking/host.h index 4fc6cf35c..9c9b5035f 100644 --- a/src/libstrongswan/networking/host.h +++ b/src/libstrongswan/networking/host.h @@ -30,10 +30,8 @@ typedef struct host_t host_t; #include <stdlib.h> #include <stdio.h> #include <sys/types.h> -#include <sys/socket.h> -#include <netinet/in.h> -#include <arpa/inet.h> +#include <utils/utils.h> #include <utils/chunk.h> /** diff --git a/src/libstrongswan/networking/host_resolver.c b/src/libstrongswan/networking/host_resolver.c index 10af11a7f..a7524ac23 100644 --- a/src/libstrongswan/networking/host_resolver.c +++ b/src/libstrongswan/networking/host_resolver.c @@ -14,8 +14,6 @@ */ #include <sys/types.h> -#include <sys/socket.h> -#include <netdb.h> #include "host_resolver.h" |