fwts/json-c-includes.patch

27 lines
747 B
Diff
Raw Normal View History

Index: fwts-15.03.01/src/lib/include/fwts_json.h
===================================================================
--- fwts-15.03.01.orig/src/lib/include/fwts_json.h
+++ fwts-15.03.01/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: fwts-15.03.01/src/utilities/kernelscan.c
===================================================================
--- fwts-15.03.01.orig/src/utilities/kernelscan.c
+++ fwts-15.03.01/src/utilities/kernelscan.c
@@ -25,7 +25,7 @@
#include <unistd.h>
#include <pcre.h>
-#include <json.h>
+#include <json-c/json.h>
#include "config.h"
#define PARSER_OK 0