about summary refs log tree commit diff
diff options
context:
space:
mode:
-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)