Explorar el Código

cJSON.h: add stddef.h because of size_t

Max Bruckner hace 8 años
padre
commit
46ff20c8b0
Se han modificado 1 ficheros con 2 adiciones y 0 borrados
  1. 2 0
      cJSON.h

+ 2 - 0
cJSON.h

@@ -28,6 +28,8 @@ extern "C"
 {
 #endif
 
+#include <stddef.h>
+
 /* cJSON Types: */
 #define cJSON_False  (1 << 0)
 #define cJSON_True   (1 << 1)