]> granicus.if.org Git - json-c/commitdiff
Fixed test1 regression.
authorTobias Stoeckmann <tobias@stoeckmann.org>
Fri, 11 Sep 2020 19:09:40 +0000 (21:09 +0200)
committerTobias Stoeckmann <tobias@stoeckmann.org>
Fri, 11 Sep 2020 19:09:40 +0000 (21:09 +0200)
SIZEOF_SIZE_T might be only defined in config.h.

Include config.h for these systems to pass tests which are only
supposed to be run on 32 bit systems.

Fixes issue #666.

tests/test1.c

index 7e416105610ac1820c653c6a7c15c0e06c513202..4d2960146c49bcc38d61220323e6d0003caed5da 100644 (file)
@@ -5,6 +5,8 @@
 #include <stdlib.h>
 #include <string.h>
 
+#include "config.h"
+
 #include "json.h"
 #include "parse_flags.h"