mirror of
https://github.com/swaywm/sway.git
synced 2025-04-04 11:27:47 +03: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
9 changed files with 9 additions and 9 deletions
|
@ -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>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue