mirror of
https://github.com/curl/curl.git
synced 2026-08-25 04:23:36 +03:00
include unistd.h if present to prevent compiler warnings on close()
This commit is contained in:
parent
1c8121a89e
commit
3d8bb1c27a
1 changed files with 4 additions and 0 deletions
|
|
@ -58,6 +58,10 @@
|
|||
#include <string.h>
|
||||
#include <stdlib.h>
|
||||
|
||||
#ifdef HAVE_UNISTD_H
|
||||
#include <unistd.h>
|
||||
#endif
|
||||
|
||||
/* DONT include memdebug.h here! */
|
||||
|
||||
/*
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue