aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKrzysztof Kozlowski <krzysztof.kozlowski@canonical.com>2021-07-16 15:35:16 +0200
committerKrzysztof Kozlowski <krzysztof.kozlowski@canonical.com>2021-07-19 12:53:25 +0200
commitc99df78b70889db428a102cdb9829ee07b3c68af (patch)
treedd239e19f1bdd57304b27f83cd2f388f8bd1b166
parenta121d8d1d3ffd08da0fd72fe9980f0f2e6b9961a (diff)
downloadneard-c99df78b70889db428a102cdb9829ee07b3c68af.tar.gz
unit: do not search for headers locally where they do not exist
near/ndef.h and src/near.h are coming from include path, so no point to look for them in current folder. Also reverse the order to match unit/test-snep-read.c Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@canonical.com>
-rw-r--r--unit/test-ndef-build.c4
-rw-r--r--unit/test-ndef-parse.c4
2 files changed, 4 insertions, 4 deletions
diff --git a/unit/test-ndef-build.c b/unit/test-ndef-build.c
index 54b502f..5174f05 100644
--- a/unit/test-ndef-build.c
+++ b/unit/test-ndef-build.c
@@ -30,8 +30,8 @@
#include <glib.h>
#include <glib/gprintf.h>
-#include "src/near.h"
-#include "include/ndef.h"
+#include <near/ndef.h>
+#include <src/near.h>
#define ARRAY_SIZE(a) (sizeof(a) / sizeof(a[0]))
diff --git a/unit/test-ndef-parse.c b/unit/test-ndef-parse.c
index ace0f90..de3cac8 100644
--- a/unit/test-ndef-parse.c
+++ b/unit/test-ndef-parse.c
@@ -30,8 +30,8 @@
#include <glib.h>
#include <glib/gprintf.h>
-#include "src/near.h"
-#include "include/ndef.h"
+#include <near/ndef.h>
+#include <src/near.h>
enum record_type {
RECORD_TYPE_WKT_SMART_POSTER = 0x01,