aboutsummaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
Diffstat (limited to 'tests')
-rw-r--r--tests/include/tests/lib/edid.h (renamed from tests/include/lib/edid-test.h)5
-rw-r--r--tests/lib/edid-test.c2
2 files changed, 6 insertions, 1 deletions
diff --git a/tests/include/lib/edid-test.h b/tests/include/tests/lib/edid.h
index 8327748b66..25d5c8a159 100644
--- a/tests/include/lib/edid-test.h
+++ b/tests/include/tests/lib/edid.h
@@ -1,5 +1,8 @@
/* SPDX-License-Identifier: GPL-2.0-only */
+#ifndef TESTS_LIB_EDID_H
+#define TESTS_LIB_EDID_H
+
#include <stdlib.h>
#include <commonlib/bsd/helpers.h>
@@ -195,3 +198,5 @@ _Static_assert(sizeof(struct edid_raw) == 128,
EDID_COLOR_W_X92, \
EDID_COLOR_W_Y92, \
}
+
+#endif /* TESTS_LIB_EDID_H */
diff --git a/tests/lib/edid-test.c b/tests/lib/edid-test.c
index 73ce4ecaf7..a93e88a292 100644
--- a/tests/lib/edid-test.c
+++ b/tests/lib/edid-test.c
@@ -5,7 +5,7 @@
#include <edid.h>
#include <assert.h>
#include <string.h>
-#include <lib/edid-test.h>
+#include <tests/lib/edid.h>
struct test_state {
int data_size;