From 3d8bb1c27a870a14c350d29ac57d8682bf975601 Mon Sep 17 00:00:00 2001 From: Daniel Stenberg Date: Tue, 19 Dec 2000 13:35:23 +0000 Subject: [PATCH] include unistd.h if present to prevent compiler warnings on close() --- lib/memdebug.c | 4 ++++ 1 file changed, 4 insertions(+) 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! */ /*