changeset 20463:026eee2a22b0

Include sys/types.h for the definitions (otherwise missing on some systems) of caddr_t (used by sys/socket.h) and ushort (used by netinet/in.h). From Karl Heuer.
author Jim Meyering <jim@meyering.net>
date Sun, 03 Nov 1996 20:59:43 +0000
parents b126f393a8f8
children bbe21eba6502
files lib/canon-host.c
diffstat 1 files changed, 1 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/lib/canon-host.c	Sat Nov 02 05:59:20 1996 +0000
+++ b/lib/canon-host.c	Sun Nov 03 20:59:43 1996 +0000
@@ -22,6 +22,7 @@
 # include <config.h>
 #endif
 
+#include <sys/types.h>
 #ifdef HAVE_UNISTD_H
 # include <unistd.h>
 #endif