diff options
author | Jim Meyering <jim@meyering.net> | 1996-02-23 16:14:27 +0000 |
---|---|---|
committer | Jim Meyering <jim@meyering.net> | 1996-02-23 16:14:27 +0000 |
commit | ce4e2493ee3f5dd11651383092c5c8576cabfd56 (patch) | |
tree | 7f38167eab0e9c251c73febd3896a45dca9de487 | |
parent | 85f9983c1942e77d995c4017b66386253c26f36f (diff) | |
download | coreutils-ce4e2493ee3f5dd11651383092c5c8576cabfd56.tar.xz |
[HAVE_SYS_SOCKET_H]: Include <sys/socket.h> for definition of AF_INET
on at least SunOS 4.
-rw-r--r-- | lib/canon-host.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/canon-host.c b/lib/canon-host.c index f302f5736..c70f4aa03 100644 --- 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> |