aboutsummaryrefslogtreecommitdiff
path: root/swaybar/status_line.c
diff options
context:
space:
mode:
authorFurkan Sahin <furkan-dev@proton.me>2019-01-23 18:00:14 +0000
committerFurkan Sahin <furkan-dev@proton.me>2019-01-23 18:00:14 +0000
commitf1c1d615e45bd34e6c5ce43f228366cdf8b519da (patch)
treef2ce175495292521d5c499893364763be0267f88 /swaybar/status_line.c
parent514f510e291ccf6fb50b1b83b5ecbaa7cb02b59a (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/status_line.c')
-rw-r--r--swaybar/status_line.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/swaybar/status_line.c b/swaybar/status_line.c
index 39ae8670..17ada40c 100644
--- a/swaybar/status_line.c
+++ b/swaybar/status_line.c
@@ -1,7 +1,7 @@
#define _POSIX_C_SOURCE 200809L
#include <fcntl.h>
#include <sys/ioctl.h>
-#include <json-c/json.h>
+#include <json.h>
#include <stdlib.h>
#include <string.h>
#include <stdio.h>