aboutsummaryrefslogtreecommitdiffstats
path: root/swaybar/status_line.c
diff options
context:
space:
mode:
authorLibravatar Jan Beich <jbeich@FreeBSD.org>2019-01-23 18:00:14 +0000
committerLibravatar Brian Ashworth <bosrsf04@gmail.com>2019-01-23 21:50:06 -0500
commitba96983bf0f10051de35bcc3def0d542d924bb9f (patch)
treef2ce175495292521d5c499893364763be0267f88 /swaybar/status_line.c
parentMerge pull request #3504 from unraised/unraised-build-fix (diff)
downloadsway-ba96983bf0f10051de35bcc3def0d542d924bb9f.tar.gz
sway-ba96983bf0f10051de35bcc3def0d542d924bb9f.tar.zst
sway-ba96983bf0f10051de35bcc3def0d542d924bb9f.zip
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 @@
1#define _POSIX_C_SOURCE 200809L 1#define _POSIX_C_SOURCE 200809L
2#include <fcntl.h> 2#include <fcntl.h>
3#include <sys/ioctl.h> 3#include <sys/ioctl.h>
4#include <json-c/json.h> 4#include <json.h>
5#include <stdlib.h> 5#include <stdlib.h>
6#include <string.h> 6#include <string.h>
7#include <stdio.h> 7#include <stdio.h>