Make json-c include respect pkg-config --cflags

json-c.pc contains `Cflags: -I${includedir}/json-c`, so `<json-c/json.h>`
won't be found unless the parent directory is searched by default.
This commit is contained in:
Jan Beich 2019-01-23 18:00:14 +00:00 committed by Brian Ashworth
parent 1a1133dcc5
commit ba96983bf0
9 changed files with 9 additions and 9 deletions

View file

@ -1,5 +1,5 @@
#define _POSIX_C_SOURCE 200809L
#include <json-c/json.h>
#include <json.h>
#include <linux/input-event-codes.h>
#include <ctype.h>
#include <stdlib.h>