From 62b7c08bb365d7430093ffbae5e2f036aecfca2e Mon Sep 17 00:00:00 2001 From: Daniel Stenberg Date: Wed, 21 Apr 2004 11:18:42 +0000 Subject: include unistd.h as well for the close() proto on some platforms (like Tru64) --- lib/hostip.c | 3 +++ 1 file changed, 3 insertions(+) (limited to 'lib/hostip.c') diff --git a/lib/hostip.c b/lib/hostip.c index 575f4ac98..e0bfe5b17 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 -- cgit v1.2.3