Fix API tests for object
[jansson.git] / test / testprogs / test_object.c
index 540109e..1f9f83c 100644 (file)
@@ -6,11 +6,13 @@
  */
 
 #include <jansson.h>
+#include <string.h>
 #include "util.h"
 
 int main()
 {
     json_t *object, *string, *other_string, *value;
+    void *iter;
 
     object = json_object();
     string = json_string("test");