diff options
author | Tobias Brunner <tobias@strongswan.org> | 2014-05-19 14:53:24 +0200 |
---|---|---|
committer | Tobias Brunner <tobias@strongswan.org> | 2014-05-19 14:53:24 +0200 |
commit | 403ad5dd8556721e5c6ffefd294a13e8bc5d03d5 (patch) | |
tree | 6feb9843ff4690cbe476b4e5bc035e60278fa723 /src/libhydra/plugins/kernel_pfkey | |
parent | 89b0845e7f537a1b9ac52c674d18aad2dac46185 (diff) | |
download | strongswan-403ad5dd8556721e5c6ffefd294a13e8bc5d03d5.tar.bz2 strongswan-403ad5dd8556721e5c6ffefd294a13e8bc5d03d5.tar.xz |
pfkey: Always include stdint.h
On some systems (e.g. on Debian/kFreeBSD) that header is required when
including ipsec.h, on Linux we require it too when including pfkeyv2.h,
so to simplify things we just always include it.
Diffstat (limited to 'src/libhydra/plugins/kernel_pfkey')
-rw-r--r-- | src/libhydra/plugins/kernel_pfkey/kernel_pfkey_ipsec.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libhydra/plugins/kernel_pfkey/kernel_pfkey_ipsec.c b/src/libhydra/plugins/kernel_pfkey/kernel_pfkey_ipsec.c index d82d6720d..c865917e4 100644 --- a/src/libhydra/plugins/kernel_pfkey/kernel_pfkey_ipsec.c +++ b/src/libhydra/plugins/kernel_pfkey/kernel_pfkey_ipsec.c @@ -35,6 +35,7 @@ * THE SOFTWARE. */ +#include <stdint.h> #include <sys/types.h> #include <sys/socket.h> @@ -45,7 +46,6 @@ #ifdef HAVE_NET_PFKEYV2_H #include <net/pfkeyv2.h> #else -#include <stdint.h> #include <linux/pfkeyv2.h> #endif |