]> andersk Git - moira.git/blobdiff - lib/fixhost.c
make sure AIX gets the right resolv.h
[moira.git] / lib / fixhost.c
index 2803aece5b43524f7013f8ccd6b1edaac0a5dfb0..1d97d041775900da6ef264f3d7ec8a68192a01ff 100644 (file)
@@ -17,11 +17,11 @@ static char *rcsid_fixhost_c = "$Header$";
 #include <sys/socket.h>
 #include <netinet/in.h>
 #include <arpa/nameser.h>
-#ifdef sun
+#if defined(sun) || defined(AIX386)
 #include <resolv.h>
 #else
 #include <arpa/resolv.h>
-#endif sun
+#endif
 #include <netdb.h>
 #include <stdio.h>
 #include <strings.h>
This page took 0.028513 seconds and 4 git commands to generate.