summaryrefslogtreecommitdiff
path: root/sway/ipc-server.c
diff options
context:
space:
mode:
authorJan Beich <[email protected]>2019-01-23 18:00:14 +0000
committerBrian Ashworth <[email protected]>2019-01-23 21:50:06 -0500
commitba96983bf0f10051de35bcc3def0d542d924bb9f (patch)
treef2ce175495292521d5c499893364763be0267f88 /sway/ipc-server.c
parent1a1133dcc5fb03773dfc3df3af04325245f7d67a (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 'sway/ipc-server.c')
-rw-r--r--sway/ipc-server.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sway/ipc-server.c b/sway/ipc-server.c
index 1dce8146..d1920cfd 100644
--- a/sway/ipc-server.c
+++ b/sway/ipc-server.c
@@ -4,7 +4,7 @@
#include <assert.h>
#include <errno.h>
#include <fcntl.h>
-#include <json-c/json.h>
+#include <json.h>
#include <stdbool.h>
#include <stdint.h>
#include <stdio.h>