aboutsummaryrefslogtreecommitdiff
path: root/include/resolv.h
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>2005-11-17 18:49:41 +0000
committerUlrich Drepper <drepper@redhat.com>2005-11-17 18:49:41 +0000
commit52d979bb0d55911b4f60ae87588bede557082aaa (patch)
treee37337d4a358608c685962916978a42021f8d8b9 /include/resolv.h
parentbe71aa3c5575b2d30f08c68bec84bccc5621508c (diff)
downloadglibc-52d979bb0d55911b4f60ae87588bede557082aaa.zip
glibc-52d979bb0d55911b4f60ae87588bede557082aaa.tar.gz
glibc-52d979bb0d55911b4f60ae87588bede557082aaa.tar.bz2
* include/resolv.h: Include <stdbool.h>.
Patch by Paul Brook.
Diffstat (limited to 'include/resolv.h')
-rw-r--r--include/resolv.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/include/resolv.h b/include/resolv.h
index 958fb95..189e4fb 100644
--- a/include/resolv.h
+++ b/include/resolv.h
@@ -8,6 +8,7 @@
} \
while (0)
+#include <stdbool.h>
#include <resolv/resolv.h>
#ifdef _RESOLV_H_
@@ -46,7 +47,7 @@ extern void res_send_setqhook (res_send_qhook __hook);
extern void res_send_setrhook (res_send_rhook __hook);
extern int res_ourserver_p (const res_state __statp,
const struct sockaddr_in6 *__inp);
-extern void __res_iclose(res_state statp, bool free_addr);
+extern void __res_iclose (res_state statp, bool free_addr);
libc_hidden_proto (__res_ninit)
libc_hidden_proto (__res_maybe_init)
libc_hidden_proto (__res_nclose)