1
0
mirror of https://github.com/moparisthebest/curl synced 2024-12-21 23:58:49 -05:00

include unistd.h if present to prevent compiler warnings on close()

This commit is contained in:
Daniel Stenberg 2000-12-19 13:35:23 +00:00
parent 1c8121a89e
commit 3d8bb1c27a

View File

@ -58,6 +58,10 @@
#include <string.h> #include <string.h>
#include <stdlib.h> #include <stdlib.h>
#ifdef HAVE_UNISTD_H
#include <unistd.h>
#endif
/* DONT include memdebug.h here! */ /* DONT include memdebug.h here! */
/* /*