]> rtime.felk.cvut.cz Git - coffee/buildroot.git/blob - package/strongswan/0002-strongswan-add-missing-include-of-stdint.h.patch
strongswan: add missing include of stdint.h
[coffee/buildroot.git] / package / strongswan / 0002-strongswan-add-missing-include-of-stdint.h.patch
1 From a8fd708ce89d5ffb64a5e8873d49a55094dde898 Mon Sep 17 00:00:00 2001
2 From: Matt Weber <matthew.weber@rockwellcollins.com>
3 Date: Mon, 2 Oct 2017 10:16:36 -0500
4 Subject: [PATCH] strongswan: add missing include of stdint.h
5
6 Recent releases of glibc don't include the full stdint.h
7 header in some network headers included by utils.h.
8 Upstream is targetting a 5.6.1 release of the fix.
9
10 Ustream: https://wiki.strongswan.org/issues/2425
11
12 Signed-off-by: Matthew Weber <matthew.weber@rockwellcollins.com>
13 ---
14  src/libstrongswan/utils/utils/memory.h | 2 ++
15  1 file changed, 2 insertions(+)
16
17 diff --git a/src/libstrongswan/utils/utils/memory.h b/src/libstrongswan/utils/utils/memory.h
18 index aef318f..c11624d 100644
19 --- a/src/libstrongswan/utils/utils/memory.h
20 +++ b/src/libstrongswan/utils/utils/memory.h
21 @@ -14,6 +14,8 @@
22   * for more details.
23   */
24  
25 +#include <stdint.h> /* for uintptr_t */
26 +
27  /**
28   * @defgroup memory_i memory
29   * @{ @ingroup utils_i
30 -- 
31 1.9.1
32