git://git.openafs.org
/
openafs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
(parent:
4b2f1af
)
vsnprint-af-inet-bsd-header-20030619
author
David Magda
<dmagda@magda.ca>
Fri, 20 Jun 2003 00:37:32 +0000 (
00:37
+0000)
committer
Derrick Brashear
<shadow@dementia.org>
Fri, 20 Jun 2003 00:37:32 +0000 (
00:37
+0000)
the bsds also need socket.h to get a definition for AF_INET
src/util/snprintf.c
patch
|
blob
|
history
diff --git
a/src/util/snprintf.c
b/src/util/snprintf.c
index
04589a3
..
1ef2613
100644
(file)
--- a/
src/util/snprintf.c
+++ b/
src/util/snprintf.c
@@
-11,7
+11,7
@@
RCSID("$Header$");
#include <ctype.h>
#include <netinet/in.h>
#include <netdb.h>
-#if defined(AFS_AIX32_ENV) || defined(AFS_SUN_ENV)
+#if defined(AFS_AIX32_ENV) || defined(AFS_SUN_ENV) || defined(AFS_XBSD_ENV)
#include <sys/socket.h>
#endif