mirror of
https://github.com/swaywm/sway.git
synced 2024-11-10 12:33:50 +01:00
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.
This commit is contained in:
parent
1a1133dcc5
commit
ba96983bf0
@ -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"
|
||||
|
||||
|
@ -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>
|
||||
|
@ -5,7 +5,7 @@
|
||||
#include <string.h>
|
||||
#include <strings.h>
|
||||
#include <stdio.h>
|
||||
#include <json-c/json.h>
|
||||
#include <json.h>
|
||||
#include "sway/commands.h"
|
||||
#include "sway/config.h"
|
||||
#include "sway/criteria.h"
|
||||
|
@ -1,4 +1,4 @@
|
||||
#include <json-c/json.h>
|
||||
#include <json.h>
|
||||
#include <libevdev/libevdev.h>
|
||||
#include <stdio.h>
|
||||
#include <ctype.h>
|
||||
|
@ -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>
|
||||
|
@ -1,5 +1,5 @@
|
||||
#define _POSIX_C_SOURCE 200809L
|
||||
#include <json-c/json.h>
|
||||
#include <json.h>
|
||||
#include <linux/input-event-codes.h>
|
||||
#include <ctype.h>
|
||||
#include <stdlib.h>
|
||||
|
@ -3,7 +3,7 @@
|
||||
#include <stdio.h>
|
||||
#include <string.h>
|
||||
#include <strings.h>
|
||||
#include <json-c/json.h>
|
||||
#include <json.h>
|
||||
#include "swaybar/config.h"
|
||||
#include "swaybar/ipc.h"
|
||||
#include "config.h"
|
||||
|
@ -1,7 +1,7 @@
|
||||
#define _POSIX_C_SOURCE 200809L
|
||||
#include <fcntl.h>
|
||||
#include <sys/ioctl.h>
|
||||
#include <json-c/json.h>
|
||||
#include <json.h>
|
||||
#include <stdlib.h>
|
||||
#include <string.h>
|
||||
#include <stdio.h>
|
||||
|
@ -9,7 +9,7 @@
|
||||
#include <sys/socket.h>
|
||||
#include <ctype.h>
|
||||
#include <unistd.h>
|
||||
#include <json-c/json.h>
|
||||
#include <json.h>
|
||||
#include "stringop.h"
|
||||
#include "ipc-client.h"
|
||||
#include "log.h"
|
||||
|
Loading…
Reference in New Issue
Block a user