aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFelix Janda <felix.janda@posteo.de>2015-04-04 00:13:21 +0200
committerDavid Howells <dhowells@redhat.com>2015-07-21 17:16:39 +0100
commitab818a7f5818177a3da09fce6aa064ef648da372 (patch)
treee3e5923488343d0558d8e9b68943d57625b8ecff
parent64c4112247070e7ae357c667be3961cd8f151619 (diff)
downloadkeyutils-ab818a7f5818177a3da09fce6aa064ef648da372.tar.gz
Include <limits.h> for UINT_MAX
Fixes building with musl libc. Signed-off-by: Felix Janda <felix.janda@posteo.de> Signed-off-by: David Howells <dhowells@redhat.com>
-rw-r--r--key.dns_resolver.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/key.dns_resolver.c b/key.dns_resolver.c
index c2a9fe5..9c9d458 100644
--- a/key.dns_resolver.c
+++ b/key.dns_resolver.c
@@ -42,6 +42,7 @@
#include <netinet/in.h>
#include <arpa/nameser.h>
#include <arpa/inet.h>
+#include <limits.h>
#include <resolv.h>
#include <getopt.h>
#include <sys/types.h>