diff --git a/json_object_iterator.c b/json_object_iterator.c index 796015e..1c2b3f2 100644 --- a/json_object_iterator.c +++ b/json_object_iterator.c @@ -9,6 +9,7 @@ * ******************************************************************************* */ +#include "config.h" #include diff --git a/json_object_private.h b/json_object_private.h index 4413955..d8dacd2 100644 --- a/json_object_private.h +++ b/json_object_private.h @@ -24,6 +24,10 @@ struct json_object; #include "json_inttypes.h" #include "json_types.h" +#ifdef HAVE_UNISTD_H +#include +#endif /* HAVE_UNISTD_H */ + #ifdef _MSC_VER #include typedef SSIZE_T ssize_t;