From: Daniel Stenberg Date: Tue, 19 Dec 2000 13:35:23 +0000 (+0000) Subject: include unistd.h if present to prevent compiler warnings on close() X-Git-Tag: pre-header-change~7 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=3d8bb1c27a870a14c350d29ac57d8682bf975601;p=curl include unistd.h if present to prevent compiler warnings on close() --- diff --git a/lib/memdebug.c b/lib/memdebug.c index a92207f64..72fc99557 100644 --- a/lib/memdebug.c +++ b/lib/memdebug.c @@ -58,6 +58,10 @@ #include #include +#ifdef HAVE_UNISTD_H +#include +#endif + /* DONT include memdebug.h here! */ /*