Sfoglia il codice sorgente

cJSON.h: add stddef.h because of size_t

Max Bruckner 8 anni fa
parent
commit
46ff20c8b0
1 ha cambiato i file con 2 aggiunte e 0 eliminazioni
  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)