diff options
author | Jan Beich <jbeich@FreeBSD.org> | 2019-01-23 18:00:14 +0000 |
---|---|---|
committer | Brian Ashworth <bosrsf04@gmail.com> | 2019-01-23 21:50:06 -0500 |
commit | ba96983bf0f10051de35bcc3def0d542d924bb9f (patch) | |
tree | f2ce175495292521d5c499893364763be0267f88 /swaybar/i3bar.c | |
parent | 1a1133dcc5fb03773dfc3df3af04325245f7d67a (diff) |
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.
Diffstat (limited to 'swaybar/i3bar.c')
-rw-r--r-- | swaybar/i3bar.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/swaybar/i3bar.c b/swaybar/i3bar.c index e938694c..da93a132 100644 --- a/swaybar/i3bar.c +++ b/swaybar/i3bar.c @@ -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> |