fwts/json-c-includes.patch

27 lines
666 B
Diff
Raw Normal View History

Index: src/lib/include/fwts_json.h
===================================================================
--- src/lib/include/fwts_json.h.orig
+++ src/lib/include/fwts_json.h
@@ -20,7 +20,7 @@
#ifndef __FWTS_JSON_H__
#define __FWTS_JSON_H__
-#include <json.h>
+#include <json-c/json.h>
#define __FWTS_JSON_ERR_PTR__ ((json_object*) -1)
/*
Index: src/utilities/kernelscan.c
===================================================================
--- src/utilities/kernelscan.c.orig
+++ src/utilities/kernelscan.c
@@ -25,7 +25,7 @@
#include <unistd.h>
#include <sys/types.h>
#include <regex.h>
-#include <json.h>
+#include <json-c/json.h>
#include "config.h"