summaryrefslogtreecommitdiff
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
commitd752aba71bc2368ca49d6efb8fa1c4630427c262 (patch)
tree5b0a5f999a12cce1908e29ec9f26f9162737c4cf
parentbd8c2c16af2a51e847285761ffd579d3aae27927 (diff)
downloadgnulib-d752aba71bc2368ca49d6efb8fa1c4630427c262.tar.gz
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.
-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 161fdb34f9..39d8789111 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