mirror of
https://github.com/vale981/libblobpack
synced 2025-03-04 17:31:42 -05:00
add pkgconfig support for json-c
this includes a fallback for legacy support
This commit is contained in:
parent
26ec9f6ec4
commit
db2ba3d769
1 changed files with 6 additions and 1 deletions
|
@ -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"
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue