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: curl-7_5_2~21 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=3d8bb1c27a870a14c350d29ac57d8682bf975601;p=thirdparty%2Fcurl.git include unistd.h if present to prevent compiler warnings on close() --- diff --git a/lib/memdebug.c b/lib/memdebug.c index a92207f64d..72fc99557c 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! */ /*