# HG changeset patch # User Jim Meyering # Date 847054783 0 # Node ID ff648b6bd671d954e4c4ddb8f61b43c8be3ca536 # Parent 0dbfd0c258a0ee2324c07f309dc574307629463a 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. diff --git a/lib/canon-host.c b/lib/canon-host.c --- a/lib/canon-host.c +++ b/lib/canon-host.c @@ -22,6 +22,7 @@ # include #endif +#include #ifdef HAVE_UNISTD_H # include #endif