From b7b0c8e3010cd807537908e60b973726d309e86b Mon Sep 17 00:00:00 2001
From: Jakob Olsson <jakob.olsson@iopsys.eu>
Date: Thu, 3 Oct 2019 15:17:13 +0200
Subject: [PATCH] update include names

---
 src/json-editor.c   | 2 +-
 test/CMakeLists.txt | 4 ++--
 test/api_test.c     | 2 +-
 3 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/src/json-editor.c b/src/json-editor.c
index 4da1951..6fc28aa 100644
--- a/src/json-editor.c
+++ b/src/json-editor.c
@@ -8,7 +8,7 @@
 #include <libubox/blobmsg_json.h>
 #include <json-c/json.h>
 
-#include "api.h"
+#include "json-editor.h"
 
 /* will allocate memory! remember to free! */
 static char *get_file(const char *path)
diff --git a/test/CMakeLists.txt b/test/CMakeLists.txt
index 6313cae..4f536a6 100644
--- a/test/CMakeLists.txt
+++ b/test/CMakeLists.txt
@@ -1,6 +1,6 @@
 CMAKE_MINIMUM_REQUIRED(VERSION 3.0)
-#INCLUDE_DIRECTORIES ("${PROJECT_SOURCE_DIR}/src")
-INCLUDE_DIRECTORIES ("${PROJECT_SOURCE_DIR}")
+INCLUDE_DIRECTORIES ("${PROJECT_SOURCE_DIR}/src")
+#INCLUDE_DIRECTORIES ("${PROJECT_SOURCE_DIR}")
 FILE(COPY test.json DESTINATION .)
 
 find_library(JSON_LIBRARIES NAMES json-c)
diff --git a/test/api_test.c b/test/api_test.c
index 76d5001..227202e 100644
--- a/test/api_test.c
+++ b/test/api_test.c
@@ -5,7 +5,7 @@
 #include <json-c/json.h>
 #include <libwebsockets.h>
 
-#include "api.h"
+#include "json-editor.h"
 
 struct test_env {
     struct json_object *file_obj;
-- 
GitLab