diff options
| author | Furkan Sahin <furkan-dev@proton.me> | 2019-01-23 18:00:14 +0000 |
|---|---|---|
| committer | Furkan Sahin <furkan-dev@proton.me> | 2019-01-23 18:00:14 +0000 |
| commit | f1c1d615e45bd34e6c5ce43f228366cdf8b519da (patch) | |
| tree | f2ce175495292521d5c499893364763be0267f88 /include | |
| parent | 514f510e291ccf6fb50b1b83b5ecbaa7cb02b59a (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 '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 @@ #ifndef _SWAY_IPC_JSON_H #define _SWAY_IPC_JSON_H -#include <json-c/json.h> +#include <json.h> #include "sway/tree/container.h" #include "sway/input/input-manager.h" 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 @@ #ifndef _SWAYBAR_STATUS_LINE_H #define _SWAYBAR_STATUS_LINE_H -#include <json-c/json.h> +#include <json.h> #include <stdint.h> #include <stdio.h> #include <stdbool.h> |
