summaryrefslogtreecommitdiff
path: root/include/test/ut.h
diff options
context:
space:
mode:
authorSimon Glass <sjg@chromium.org>2020-04-08 16:57:40 -0600
committerBin Meng <bmeng.cn@gmail.com>2020-04-16 14:36:28 +0800
commit1f4431e46120ef913fc9f83c78a734d910d00b3f (patch)
tree61d65db08c42dcf0d64d8c084c026d52c9beb3af /include/test/ut.h
parentbfeb5d460cd129e037c87e9d90b02808d68c0147 (diff)
test: Add hexdump.h to the unit test header
Since ut_asserteq_mem() uses bin2hex() we should include this header in ut.h to avoid errors. Add it. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Wolfgang Wallner <wolfgang.wallner@br-automation.com>
Diffstat (limited to 'include/test/ut.h')
-rw-r--r--include/test/ut.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/test/ut.h b/include/test/ut.h
index 04df8ba3af..39d15953ed 100644
--- a/include/test/ut.h
+++ b/include/test/ut.h
@@ -8,6 +8,7 @@
#ifndef __TEST_UT_H
#define __TEST_UT_H
+#include <hexdump.h>
#include <linux/err.h>
struct unit_test_state;