include unistd.h if present to prevent compiler warnings on close()
authorDaniel Stenberg <daniel@haxx.se>
Tue, 19 Dec 2000 13:35:23 +0000 (13:35 +0000)
committerDaniel Stenberg <daniel@haxx.se>
Tue, 19 Dec 2000 13:35:23 +0000 (13:35 +0000)
lib/memdebug.c

index a92207f64dec5c373496092a509dcf9960e79cb5..72fc99557c5f6e2c30c883b56006d03340300f3c 100644 (file)
 #include <string.h>
 #include <stdlib.h>
 
+#ifdef HAVE_UNISTD_H
+#include <unistd.h>
+#endif
+
 /* DONT include memdebug.h here! */
 
 /*