Brad House fixed a missing header file inclusion in adig sample program
authorYang Tse <yangsita@gmail.com>
Fri, 30 May 2008 15:26:42 +0000 (15:26 +0000)
committerYang Tse <yangsita@gmail.com>
Fri, 30 May 2008 15:26:42 +0000 (15:26 +0000)
CHANGES
RELEASE-NOTES
adig.c

diff --git a/CHANGES b/CHANGES
index 01a4383..af7e57e 100644 (file)
--- a/CHANGES
+++ b/CHANGES
@@ -1,5 +1,9 @@
   Changelog for the c-ares project
 
+* May 30 2008 (Yang Tse)
+
+- Brad House fixed a missing header file inclusion in adig sample program.
+
 Version 1.5.2 (May 29, 2008)
 
 * May 13 2008 (Daniel Stenberg)
index c7b321e..4b2eff9 100644 (file)
@@ -1,21 +1,10 @@
-This is what's new and changed in the c-ares 1.5.2 release:
+This is what's new and changed in the c-ares 1.5.3 release:
 
- o code refactoring in ares_gethostbyaddr
- o improved checking of /dev/urandom in configure script
- o new sample application, acountry
- o improved MSVC6 dsp files
- o adig sample application supports NAPTR records
- o improved file seeding randomizer
- o improved parsing of resolver configuration files
- o updated configure script to remove autoconf 2.62 warnings
- o use monotonic time source if available
- o return all PTR-records when doing reverse lookups
- o millisecond resolution support for the timeout option
+ o adig sample application compilation failure on some systems
 
 Thanks go to these friendly people for their efforts and contributions:
 
- Erik Kline, Brad Spencer, Gisle Vanem, Alexey Simak, Eino Tuominen,
- Eino Tuominen, Yang Tse, Doug Goldstein, Sebastian<at>basti79.de,
+ Brad House
  and obviously Daniel Stenberg
 
 Have fun!
diff --git a/adig.c b/adig.c
index 59325fe..707fc80 100644 (file)
--- a/adig.c
+++ b/adig.c
@@ -27,6 +27,9 @@
 #include <netinet/in.h>
 #include <arpa/inet.h>
 #include <arpa/nameser.h>
+#ifdef HAVE_ARPA_NAMESER_COMPAT_H
+#include <arpa/nameser_compat.h>
+#endif
 #ifdef HAVE_UNISTD_H
 #include <unistd.h>
 #endif