git://git.openafs.org
/
openafs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
(parent:
5da9311
)
make-snprintf-compile-on-aix-433-20010305
author
Derrick Brashear
<shadow@dementia.org>
Mon, 5 Mar 2001 22:47:54 +0000 (22:47 +0000)
committer
Derrick 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
patch
|
blob
|
history
diff --git
a/src/util/snprintf.c
b/src/util/snprintf.c
index
75b85e7
..
4141de3
100644
(file)
--- a/
src/util/snprintf.c
+++ b/
src/util/snprintf.c
@@
-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