Commit 3d8bb1c2 authored by Daniel Stenberg's avatar Daniel Stenberg
Browse files

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

parent 1c8121a8
Loading
Loading
Loading
Loading
+4 −0
Original line number Diff line number Diff line
@@ -58,6 +58,10 @@
#include <string.h>
#include <stdlib.h>

#ifdef HAVE_UNISTD_H
#include <unistd.h>
#endif

/* DONT include memdebug.h here! */

/*