diff --git a/lib/hostip.c b/lib/hostip.c index 575f4ac980..e0bfe5b17a 100644 --- a/lib/hostip.c +++ b/lib/hostip.c @@ -49,6 +49,9 @@ #ifdef HAVE_STDLIB_H #include /* required for free() prototypes */ #endif +#ifdef HAVE_UNISTD_H +#include /* for the close() proto */ +#endif #ifdef VMS #include #include