Include sys/types.h for the definitions
authorJim Meyering <jim@meyering.net>
Sun, 3 Nov 1996 20:59:43 +0000 (20:59 +0000)
committerJim Meyering <jim@meyering.net>
Sun, 3 Nov 1996 20:59:43 +0000 (20:59 +0000)
(otherwise missing on some systems) of caddr_t (used by
sys/socket.h) and ushort (used by netinet/in.h).  From Karl Heuer.

lib/canon-host.c

index 161fdb3..39d8789 100644 (file)
@@ -22,6 +22,7 @@
 # include <config.h>
 #endif
 
+#include <sys/types.h>
 #ifdef HAVE_UNISTD_H
 # include <unistd.h>
 #endif