directfb: do not use inexistant configure options
[buildroot-gz.git] / package / keyutils / 0005-Add-missing-limits.h-include.patch
blob45c84398f99fd1979866f52a066d1f3b0cdfecdf
1 From b2c6d3744dca029560d0d5e780f16561f8eeed53 Mon Sep 17 00:00:00 2001
2 From: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
3 Date: Sun, 12 Jul 2015 16:22:14 +0200
4 Subject: [PATCH] Add missing <limits.h> include
5 MIME-Version: 1.0
6 Content-Type: text/plain; charset=UTF-8
7 Content-Transfer-Encoding: 8bit
9 key.dns_resolver.c uses ‘UINT_MAX’ and ‘ULONG_MAX’, but forgets to
10 include <limits.h>, which causes build failure with certain C
11 libraries (notably the musl C library).
13 Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
14 ---
15 key.dns_resolver.c | 1 +
16 1 file changed, 1 insertion(+)
18 diff --git a/key.dns_resolver.c b/key.dns_resolver.c
19 index c2a9fe5..d41e219 100644
20 --- a/key.dns_resolver.c
21 +++ b/key.dns_resolver.c
22 @@ -56,6 +56,7 @@
23 #include <stdlib.h>
24 #include <unistd.h>
25 #include <time.h>
26 +#include <limits.h>
28 static const char *DNS_PARSE_VERSION = "1.0";
29 static const char prog[] = "key.dns_resolver";
30 --
31 2.4.5