diff --git a/test/testprogs/Makefile.am b/test/testprogs/Makefile.am index 4360cb8..400a998 100644 --- a/test/testprogs/Makefile.am +++ b/test/testprogs/Makefile.am @@ -3,7 +3,7 @@ check_PROGRAMS = test_array test_simple test_number test_object test_array_SOURCES = test_array.c util.h test_simple_SOURCES = test_simple.c util.h test_number_SOURCES = test_number.c util.h -test_object_SOURCES = test_number.c util.h +test_object_SOURCES = test_object.c util.h AM_CPPFLAGS = -I$(top_srcdir)/src AM_CFLAGS = -Wall -Werror diff --git a/test/testprogs/test_object.c b/test/testprogs/test_object.c index 540109e..1f9f83c 100644 --- a/test/testprogs/test_object.c +++ b/test/testprogs/test_object.c @@ -6,11 +6,13 @@ */ #include +#include #include "util.h" int main() { json_t *object, *string, *other_string, *value; + void *iter; object = json_object(); string = json_string("test");