Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.openwrt.org/project/libubox.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/jshn.c
diff options
context:
space:
mode:
Diffstat (limited to 'jshn.c')
-rw-r--r--jshn.c7
1 files changed, 6 insertions, 1 deletions
diff --git a/jshn.c b/jshn.c
index 9cbdb31..781861d 100644
--- a/jshn.c
+++ b/jshn.c
@@ -13,7 +13,12 @@
* ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
* OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
*/
-#include <json/json.h>
+#ifdef JSONC
+ #include <json.h>
+#else
+ #include <json/json.h>
+#endif
+
#include <string.h>
#include <stdlib.h>
#include <stdio.h>