diff --git a/json_inttypes.h b/json_inttypes.h index e51da74..e047d4f 100644 --- a/json_inttypes.h +++ b/json_inttypes.h @@ -21,9 +21,4 @@ #endif -#ifdef _MSC_VER -#include -typedef SSIZE_T ssize_t; -#endif - #endif diff --git a/json_object_private.h b/json_object_private.h index c7b4d1f..8132a33 100644 --- a/json_object_private.h +++ b/json_object_private.h @@ -24,6 +24,11 @@ struct json_object; #include "json_inttypes.h" #include "json_types.h" +#ifdef _MSC_VER +#include +typedef SSIZE_T ssize_t; +#endif + typedef void (json_object_private_delete_fn)(struct json_object *o); /* json object int type, support extension*/