aboutsummaryrefslogtreecommitdiffstats
path: root/src/libstrongswan/utils/utils.h
diff options
context:
space:
mode:
authorTobias Brunner <tobias@strongswan.org>2017-09-14 11:59:30 +0200
committerTobias Brunner <tobias@strongswan.org>2017-09-19 13:24:39 +0200
commitd4593353c97347fc9505a5a4fe3cfb66b246874f (patch)
treec4f53ac3a9445ae3efd5fc6c691ded9272522da3 /src/libstrongswan/utils/utils.h
parentc21fff303aa09aca6495643fe98fb5e164b4f6c1 (diff)
downloadstrongswan-d4593353c97347fc9505a5a4fe3cfb66b246874f.tar.bz2
strongswan-d4593353c97347fc9505a5a4fe3cfb66b246874f.tar.xz
utils: Include stdint.h
Recent releases of glibc don't include the full stdint.h header in some network headers included by utils.h. So uintptr_t might not be defined. Since we use fixed width integers, including the latter, all over the place we make sure the complete file is included. Fixes #2425.
Diffstat (limited to 'src/libstrongswan/utils/utils.h')
-rw-r--r--src/libstrongswan/utils/utils.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/libstrongswan/utils/utils.h b/src/libstrongswan/utils/utils.h
index 33b8d1956..ec994bfc5 100644
--- a/src/libstrongswan/utils/utils.h
+++ b/src/libstrongswan/utils/utils.h
@@ -25,6 +25,7 @@
#define _GNU_SOURCE
#include <sys/types.h>
#include <stdlib.h>
+#include <stdint.h>
#include <stddef.h>
#include <sys/time.h>
#include <string.h>