From d4593353c97347fc9505a5a4fe3cfb66b246874f Mon Sep 17 00:00:00 2001 From: Tobias Brunner Date: Thu, 14 Sep 2017 11:59:30 +0200 Subject: [PATCH] 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. --- src/libstrongswan/utils/utils.h | 1 + 1 file changed, 1 insertion(+) 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 #include +#include #include #include #include