test: Add hexdump.h to the unit test header
authorSimon Glass <sjg@chromium.org>
Wed, 8 Apr 2020 22:57:40 +0000 (16:57 -0600)
committerBin Meng <bmeng.cn@gmail.com>
Thu, 16 Apr 2020 06:36:28 +0000 (14:36 +0800)
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>
include/test/ut.h

index 04df8ba3af319d5c2dde28e1dd979825b7ecd7a3..39d15953ed3a70c19beb902bbd81b7617c11c13e 100644 (file)
@@ -8,6 +8,7 @@
 #ifndef __TEST_UT_H
 #define __TEST_UT_H
 
+#include <hexdump.h>
 #include <linux/err.h>
 
 struct unit_test_state;