Use the the peer table iterator correctly
[trust_router.git] / common / t_constraint.c
index 7ba9a14..cb7549d 100644 (file)
  */
 
 #include <jansson.h>
+#if JANSSON_VERSION_HEX < 0x020500
 #include "jansson_iterators.h"
+#endif
 #include <stdio.h>
 #include <assert.h>
 
-#include <tid_internal.h>
+#include <trust_router/tid.h>
 #include <trust_router/tr_constraint.h>
+#include <tid_internal.h>
 #include <tr_debug.h>
 
 static TID_REQ *request = NULL;