Fix compilation with json-c on Yocto
authorManuel Bachmann <manuel.bachmann@iot.bzh>
Fri, 8 Jul 2016 15:22:44 +0000 (17:22 +0200)
committerYannick Gicquel <yannick.gicquel@iot.bzh>
Tue, 11 Oct 2016 15:09:07 +0000 (17:09 +0200)
json-c headers are only provided in the "json-c" directory
on Yocto/Poky, so use this as the default path.

Change-Id: If7e318673cbe0fd8a63461f8e75cf0f03f89636b
Signed-off-by: Manuel Bachmann <manuel.bachmann@iot.bzh>
config.c

index c7ca146..ee13ce6 100644 (file)
--- a/config.c
+++ b/config.c
@@ -25,7 +25,7 @@
 #include <sys/mman.h>
 #include <sys/stat.h>
 #include <fcntl.h>
-#include <json/json.h>
+#include <json-c/json.h>
 
 #include <pulsecore/core-util.h>
 #include <pulsecore/pulsecore-config.h>