summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorJim Meyering <jim@meyering.net>1996-11-03 20:59:43 +0000
committerJim Meyering <jim@meyering.net>1996-11-03 20:59:43 +0000
commit84b3a783966cf58c472a1a68816ed05512d19883 (patch)
tree1ee7e10ffbc6b9a3d6c8b023d447a4604c7a3351 /lib
parent9eb9f31c3a3c3bcb47fc24258a7021368c1be13f (diff)
downloadcoreutils-84b3a783966cf58c472a1a68816ed05512d19883.tar.xz
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.
Diffstat (limited to 'lib')
-rw-r--r--lib/canon-host.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/canon-host.c b/lib/canon-host.c
index 161fdb34f..39d878911 100644
--- a/lib/canon-host.c
+++ b/lib/canon-host.c
@@ -22,6 +22,7 @@
# include <config.h>
#endif
+#include <sys/types.h>
#ifdef HAVE_UNISTD_H
# include <unistd.h>
#endif