summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLeif Middelschulte <leif.middelschulte@gmail.com>2014-04-16 12:50:26 +0200
committerLeif Middelschulte <leif.middelschulte@gmail.com>2014-04-16 12:50:26 +0200
commit9ab20a05699dd264f8e98ffb8cd42a05172f4080 (patch)
tree9b02eef6ae3e657abd3ad9ac7fc2c4e2d2914729
parentd70da90ad1e8d9ee7ca688871dd09b5ed7399d88 (diff)
Use json-c.pc instead of json.pcHEADmaster
-rw-r--r--configure.ac2
-rw-r--r--src/sourcedrop.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/configure.ac b/configure.ac
index 5b27776..f773d74 100644
--- a/configure.ac
+++ b/configure.ac
@@ -27,7 +27,7 @@ MODULE_ARCH="$host_os-$host_cpu-$release"
27AC_SUBST(MODULE_ARCH) 27AC_SUBST(MODULE_ARCH)
28AC_DEFINE_UNQUOTED(MODULE_ARCH, "$MODULE_ARCH", "Module architecture") 28AC_DEFINE_UNQUOTED(MODULE_ARCH, "$MODULE_ARCH", "Module architecture")
29 29
30PKG_CHECK_MODULES(JSON, [json]) 30PKG_CHECK_MODULES(JSON, [json-c])
31 31
32# 32#
33# Platform specific setup 33# Platform specific setup
diff --git a/src/sourcedrop.c b/src/sourcedrop.c
index 8a790a9..4bac035 100644
--- a/src/sourcedrop.c
+++ b/src/sourcedrop.c
@@ -1,5 +1,5 @@
1#include <ctype.h> 1#include <ctype.h>
2#include <json/json.h> 2#include <json.h>
3#ifdef __linux__ 3#ifdef __linux__
4#include <bsd/string.h> // strlcpy, etc. found in libbsd 4#include <bsd/string.h> // strlcpy, etc. found in libbsd
5#else 5#else