projects
/
platform
/
upstream
/
coreutils.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
85f9983
)
[HAVE_SYS_SOCKET_H]: Include <sys/socket.h> for definition of AF_INET
author
Jim Meyering
<jim@meyering.net>
Fri, 23 Feb 1996 16:14:27 +0000
(16:14 +0000)
committer
Jim Meyering
<jim@meyering.net>
Fri, 23 Feb 1996 16:14:27 +0000
(16:14 +0000)
on at least SunOS 4.
lib/canon-host.c
patch
|
blob
|
history
diff --git
a/lib/canon-host.c
b/lib/canon-host.c
index f302f5736cef675bd9dca2e59495a00d2edb4a4b..c70f4aa03a49835149687bfccc9899beb1d07ef3 100644
(file)
--- a/
lib/canon-host.c
+++ b/
lib/canon-host.c
@@
-31,6
+31,9
@@
#ifdef HAVE_NETDB_H
#include <netdb.h>
#endif
+#ifdef HAVE_SYS_SOCKET_H
+#include <sys/socket.h>
+#endif
#ifdef HAVE_NETINET_IN_H
#include <netinet/in.h>