From ba96983bf0f10051de35bcc3def0d542d924bb9f Mon Sep 17 00:00:00 2001 From: Jan Beich Date: Wed, 23 Jan 2019 18:00:14 +0000 Subject: Make json-c include respect pkg-config --cflags json-c.pc contains `Cflags: -I${includedir}/json-c`, so `` won't be found unless the parent directory is searched by default. --- swaybar/i3bar.c | 2 +- swaybar/ipc.c | 2 +- swaybar/status_line.c | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) (limited to 'swaybar') 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 +#include #include #include #include diff --git a/swaybar/ipc.c b/swaybar/ipc.c index bf1d0f43..1cc55b43 100644 --- a/swaybar/ipc.c +++ b/swaybar/ipc.c @@ -3,7 +3,7 @@ #include #include #include -#include +#include #include "swaybar/config.h" #include "swaybar/ipc.h" #include "config.h" 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 #include -#include +#include #include #include #include -- cgit v1.2.3