From fbf720f2c54fa36154fdd0add5d8cf8b0e6f05a2 Mon Sep 17 00:00:00 2001 From: Petri Lehtinen Date: Thu, 13 Apr 2017 13:39:43 +0300 Subject: [PATCH] Allow forward declaring json_error_t values --- src/jansson.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/jansson.h b/src/jansson.h index a5927bd..f55a387 100644 --- a/src/jansson.h +++ b/src/jansson.h @@ -131,7 +131,7 @@ void json_decrefp(json_t **json) #define JSON_ERROR_TEXT_LENGTH 160 #define JSON_ERROR_SOURCE_LENGTH 80 -typedef struct { +typedef struct json_error_t { int line; int column; int position;