about summary refs log tree commit diff
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
parentbe71aa3c5575b2d30f08c68bec84bccc5621508c (diff)
downloadglibc-52d979bb0d55911b4f60ae87588bede557082aaa.tar.gz
glibc-52d979bb0d55911b4f60ae87588bede557082aaa.tar.xz
glibc-52d979bb0d55911b4f60ae87588bede557082aaa.zip
* include/resolv.h: Include <stdbool.h>.
	Patch by Paul Brook.
-rw-r--r--ChangeLog3
-rw-r--r--include/resolv.h3
2 files changed, 5 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index c1b3a9fe42..47a0eaf749 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,8 @@
 2005-11-17  Ulrich Drepper  <drepper@redhat.com>
 
+	* include/resolv.h: Include <stdbool.h>.
+	Patch by Paul Brook.
+
 	* io/sys/stat.h: Use __const not const in fstatat prototypes.
 
 2005-11-08  H.J. Lu  <hongjiu.lu@intel.com>
diff --git a/include/resolv.h b/include/resolv.h
index 958fb957c6..189e4fb58b 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)