]> git.michaelhowe.org Git - packages/o/openafs.git/commitdiff
make-snprintf-compile-on-aix-433-20010305
authorDerrick Brashear <shadow@dementia.org>
Mon, 5 Mar 2001 22:47:54 +0000 (22:47 +0000)
committerDerrick Brashear <shadow@dementia.org>
Mon, 5 Mar 2001 22:47:54 +0000 (22:47 +0000)
AF_INET is in sys/socket.h on AIX 4.3.3

src/util/snprintf.c

index 75b85e74b5ea35144750c875131f034515604f97..4141de3e45d35ccae289d975e634b9a573f476eb 100644 (file)
@@ -9,6 +9,9 @@
 #include <ctype.h>
 #include <netinet/in.h>
 #include <netdb.h>
+#if defined(AFS_AIX32_ENV)
+#include <sys/socket.h>
+#endif
 
 #define MAXPREC 100