diff options
author | Jan Beich <jbeich@FreeBSD.org> | 2019-01-23 18:00:14 +0000 |
---|---|---|
committer | Brian Ashworth <bosrsf04@gmail.com> | 2019-01-23 21:50:06 -0500 |
commit | ba96983bf0f10051de35bcc3def0d542d924bb9f (patch) | |
tree | f2ce175495292521d5c499893364763be0267f88 /include | |
parent | Merge pull request #3504 from unraised/unraised-build-fix (diff) | |
download | sway-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 'include')
-rw-r--r-- | include/sway/ipc-json.h | 2 | ||||
-rw-r--r-- | include/swaybar/status_line.h | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/include/sway/ipc-json.h b/include/sway/ipc-json.h index 1cbfd15d..3e584dbb 100644 --- a/include/sway/ipc-json.h +++ b/include/sway/ipc-json.h | |||
@@ -1,6 +1,6 @@ | |||
1 | #ifndef _SWAY_IPC_JSON_H | 1 | #ifndef _SWAY_IPC_JSON_H |
2 | #define _SWAY_IPC_JSON_H | 2 | #define _SWAY_IPC_JSON_H |
3 | #include <json-c/json.h> | 3 | #include <json.h> |
4 | #include "sway/tree/container.h" | 4 | #include "sway/tree/container.h" |
5 | #include "sway/input/input-manager.h" | 5 | #include "sway/input/input-manager.h" |
6 | 6 | ||
diff --git a/include/swaybar/status_line.h b/include/swaybar/status_line.h index 957a808e..3601a11e 100644 --- a/include/swaybar/status_line.h +++ b/include/swaybar/status_line.h | |||
@@ -1,6 +1,6 @@ | |||
1 | #ifndef _SWAYBAR_STATUS_LINE_H | 1 | #ifndef _SWAYBAR_STATUS_LINE_H |
2 | #define _SWAYBAR_STATUS_LINE_H | 2 | #define _SWAYBAR_STATUS_LINE_H |
3 | #include <json-c/json.h> | 3 | #include <json.h> |
4 | #include <stdint.h> | 4 | #include <stdint.h> |
5 | #include <stdio.h> | 5 | #include <stdio.h> |
6 | #include <stdbool.h> | 6 | #include <stdbool.h> |