From: Hao Fang fanghao11@huawei.com
The driver header file hisi_qm_udrv.h should not be included by test tool, and need add config.h to fix the build error.
Signed-off-by: Hao Fang fanghao11@huawei.com --- test/hisi_zip_test/test_lib.c | 1 - test/hisi_zip_test/test_lib.h | 1 + 2 files changed, 1 insertion(+), 1 deletion(-)
diff --git a/test/hisi_zip_test/test_lib.c b/test/hisi_zip_test/test_lib.c index 5918699..384be49 100644 --- a/test/hisi_zip_test/test_lib.c +++ b/test/hisi_zip_test/test_lib.c @@ -10,7 +10,6 @@ #include <sys/mman.h> #include <zlib.h>
-#include "hisi_qm_udrv.h" #include "test_lib.h"
#define SCHED_RR_NAME "sched_rr" diff --git a/test/hisi_zip_test/test_lib.h b/test/hisi_zip_test/test_lib.h index 4820817..70d2c9d 100644 --- a/test/hisi_zip_test/test_lib.h +++ b/test/hisi_zip_test/test_lib.h @@ -18,6 +18,7 @@ #include <sys/stat.h> #include <sys/time.h> #include <unistd.h> +#include "config.h" #include "wd_comp.h" #include "wd_sched.h"