aboutsummaryrefslogtreecommitdiffstats
path: root/swaymsg
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 /swaymsg
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 'swaymsg')
-rw-r--r--swaymsg/main.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/swaymsg/main.c b/swaymsg/main.c
index 2b49f9b9..c84f5671 100644
--- a/swaymsg/main.c
+++ b/swaymsg/main.c
@@ -9,7 +9,7 @@
9#include <sys/socket.h> 9#include <sys/socket.h>
10#include <ctype.h> 10#include <ctype.h>
11#include <unistd.h> 11#include <unistd.h>
12#include <json-c/json.h> 12#include <json.h>
13#include "stringop.h" 13#include "stringop.h"
14#include "ipc-client.h" 14#include "ipc-client.h"
15#include "log.h" 15#include "log.h"