Skip to content

Commit 7af593c

Browse files
committed
Fixed test1 regression.
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 json-c#666.
1 parent 785a94b commit 7af593c

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

tests/test1.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,8 @@
55
#include <stdlib.h>
66
#include <string.h>
77

8+
#include "config.h"
9+
810
#include "json.h"
911
#include "parse_flags.h"
1012

0 commit comments

Comments
 (0)