mirror of
https://github.com/json-c/json-c.git
synced 2026-03-22 14:39:07 +08:00
Include unistd.h to fix the build on OSX
This commit is contained in:
@@ -9,6 +9,7 @@
|
||||
*
|
||||
*******************************************************************************
|
||||
*/
|
||||
#include "config.h"
|
||||
|
||||
#include <stddef.h>
|
||||
|
||||
|
||||
@@ -24,6 +24,10 @@ struct json_object;
|
||||
#include "json_inttypes.h"
|
||||
#include "json_types.h"
|
||||
|
||||
#ifdef HAVE_UNISTD_H
|
||||
#include <unistd.h>
|
||||
#endif /* HAVE_UNISTD_H */
|
||||
|
||||
#ifdef _MSC_VER
|
||||
#include <BaseTsd.h>
|
||||
typedef SSIZE_T ssize_t;
|
||||
|
||||
Reference in New Issue
Block a user