summaryrefslogtreecommitdiff
path: root/resolv
diff options
context:
space:
mode:
authorRyan S. Arnold <rsa@linux.vnet.ibm.com>2013-05-01 10:46:34 -0500
committerRyan S. Arnold <rsa@linux.vnet.ibm.com>2013-05-01 10:46:34 -0500
commit03eb46d4be01d389ccb88778047e6639ae132e0c (patch)
treef559059f67c16040c05ee1f6c67c290bc5bcb67c /resolv
parent0695940b8ab4b7e69492e8ea071d19fc17dda092 (diff)
downloadglibc-rsa/stdint_noheaders.tar.gz
Add #include <stdint.h> for uint[32|64]_t usage (except installed headers).rsa/stdint_noheaders
Diffstat (limited to 'resolv')
-rw-r--r--resolv/nss_dns/dns-canon.c1
-rw-r--r--resolv/nss_dns/dns-network.c1
-rw-r--r--resolv/res_init.c1
-rw-r--r--resolv/res_mkquery.c1
-rw-r--r--resolv/tst-aton.c1
5 files changed, 5 insertions, 0 deletions
diff --git a/resolv/nss_dns/dns-canon.c b/resolv/nss_dns/dns-canon.c
index 090ed7dda2..cdc61b9c6a 100644
--- a/resolv/nss_dns/dns-canon.c
+++ b/resolv/nss_dns/dns-canon.c
@@ -20,6 +20,7 @@
#include <netdb.h>
#include <resolv.h>
#include <stdlib.h>
+#include <stdint.h>
#include <arpa/nameser.h>
#include <nsswitch.h>
diff --git a/resolv/nss_dns/dns-network.c b/resolv/nss_dns/dns-network.c
index 5c725b5f67..3c4db7eec3 100644
--- a/resolv/nss_dns/dns-network.c
+++ b/resolv/nss_dns/dns-network.c
@@ -61,6 +61,7 @@
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
+#include <stdint.h>
#include "nsswitch.h"
#include <arpa/inet.h>
diff --git a/resolv/res_init.c b/resolv/res_init.c
index c58c763841..002dec5c57 100644
--- a/resolv/res_init.c
+++ b/resolv/res_init.c
@@ -77,6 +77,7 @@ static const char rcsid[] = "$BINDId: res_init.c,v 8.16 2000/05/09 07:10:12 vixi
#include <stdlib.h>
#include <string.h>
#include <unistd.h>
+#include <stdint.h>
#include <arpa/inet.h>
#include <arpa/nameser.h>
#include <net/if.h>
diff --git a/resolv/res_mkquery.c b/resolv/res_mkquery.c
index 2bc2d2497f..e2c6a742c0 100644
--- a/resolv/res_mkquery.c
+++ b/resolv/res_mkquery.c
@@ -83,6 +83,7 @@ static const char rcsid[] = "$BINDId: res_mkquery.c,v 8.12 1999/10/13 16:39:40 v
#ifdef _LIBC
# include <hp-timing.h>
+# include <stdint.h>
# if HP_TIMING_AVAIL
# define RANDOM_BITS(Var) { uint64_t v64; HP_TIMING_NOW (v64); Var = v64; }
# endif
diff --git a/resolv/tst-aton.c b/resolv/tst-aton.c
index 6cb5960496..4e9caf96f4 100644
--- a/resolv/tst-aton.c
+++ b/resolv/tst-aton.c
@@ -1,4 +1,5 @@
#include <stdio.h>
+#include <stdint.h>
#include <sys/socket.h>
#include <netinet/in.h>
#include <arpa/inet.h>