[linux-nfc] [neard][PATCH v2 61/73] unit: do not search for headers locally where they do not exist

Krzysztof Kozlowski <[email protected]> Mon, 19 Jul 2021 13:08:07 +0200
Newsgroups org.01.lists.linux-nfc,dev.linux.lists.oe-linux-nfc
Message-ID <[email protected]>
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 <[email protected]>
---
 unit/test-ndef-build.c | 4 ++--
 unit/test-ndef-parse.c | 4 ++--
 2 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/unit/test-ndef-build.c b/unit/test-ndef-build.c
index 54b502f4a40b..5174f053841e 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 ace0f9038ad9..de3cac81b90d 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,
-- 
2.27.0
_______________________________________________
Linux-nfc mailing list -- [email protected]
To unsubscribe send an email to [email protected]
%(web_page_url)slistinfo%(cgiext)s/%(_internal_name)s