changeset 554:d6b4cc9397db

[HAVE_SYS_SOCKET_H]: Include <sys/socket.h> for definition of AF_INET on at least SunOS 4.
author Jim Meyering <jim@meyering.net>
date Fri, 23 Feb 1996 16:14:27 +0000
parents c291b4e52666
children f1cf079f077d
files lib/canon-host.c
diffstat 1 files changed, 3 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/lib/canon-host.c	Fri Feb 16 03:30:58 1996 +0000
+++ b/lib/canon-host.c	Fri Feb 23 16:14:27 1996 +0000
@@ -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>