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

@ -3,7 +3,7 @@
#include <stdio.h>
#include <string.h>
#include <strings.h>
#include <json-c/json.h>
#include <json.h>
#include "swaybar/config.h"
#include "swaybar/ipc.h"
#include "config.h"