From: Tobias Brunner Date: Mon, 19 May 2014 12:53:24 +0000 (+0200) Subject: pfkey: Always include stdint.h X-Git-Tag: 5.2.0dr5~35 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=403ad5dd8556721e5c6ffefd294a13e8bc5d03d5;p=thirdparty%2Fstrongswan.git 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. --- diff --git a/src/libhydra/plugins/kernel_pfkey/kernel_pfkey_ipsec.c b/src/libhydra/plugins/kernel_pfkey/kernel_pfkey_ipsec.c index d82d6720df..c865917e42 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 #include #include @@ -45,7 +46,6 @@ #ifdef HAVE_NET_PFKEYV2_H #include #else -#include #include #endif