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:
parent
1c8121a89e
commit
3d8bb1c27a
@ -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! */
|
||||||
|
|
||||||
/*
|
/*
|
||||||
|
Loading…
Reference in New Issue
Block a user