[netperf-dev] netperf4 commit notice r127 - branches/glib_migration/src

raj at netperf.org raj at netperf.org
Tue Apr 4 18:07:39 PDT 2006


Author: raj
Date: 2006-04-04 18:07:38 -0700 (Tue, 04 Apr 2006)
New Revision: 127

Modified:
   branches/glib_migration/src/nettest_dns.c
Log:
Don't include nameser_compat.h under AIX, it just doesn't seem to like it.


Modified: branches/glib_migration/src/nettest_dns.c
===================================================================
--- branches/glib_migration/src/nettest_dns.c	2006-04-05 01:00:01 UTC (rev 126)
+++ branches/glib_migration/src/nettest_dns.c	2006-04-05 01:07:38 UTC (rev 127)
@@ -91,7 +91,9 @@
 #include <arpa/nameser.h>
 #endif
 
-#ifdef HAVE_ARPA_NAMESER_COMPAT_H
+/* for some reason, AIX (5.3 at least) does not like having
+   nameser_compat.h included along with nameser.h raj 2006-04-04 */
+#if defined(HAVE_ARPA_NAMESER_COMPAT_H) && !defined(_AIX)
 #include <arpa/nameser_compat.h>
 #endif
 



More information about the netperf-dev mailing list