add pkgconfig support for json-c

this includes a fallback for legacy support
This commit is contained in:
Thomas Gstädtner 2013-03-05 01:30:51 +01:00 committed by Felix Fietkau
parent 26ec9f6ec4
commit db2ba3d769

View file

@ -16,7 +16,12 @@
#ifndef __BLOBMSG_JSON_H
#define __BLOBMSG_JSON_H
#include <json/json.h>
#ifdef JSONC
#include <json.h>
#else
#include <json/json.h>
#endif
#include <stdbool.h>
#include "blobmsg.h"