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 | bbe5687e13321a47edef34b252a081c07bfdda02 (patch) | |
tree | 81dff66d53c351068f632b03dd9915e27f4d1da9 | |
parent | 1fb674226ed34046e91ee09c1839de275487b52b (diff) | |
download | gnulib-bbe5687e13321a47edef34b252a081c07bfdda02.tar.gz |
[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 f302f5736c..c70f4aa03a 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> |