changeset 20245:db2d7c25f669

[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 0b77dc702327
children c725879bb81a
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>