82 lines
1.9 KiB
Diff
82 lines
1.9 KiB
Diff
From c23fbffb2afe00b0d5c9842c88884d83b83629c0 Mon Sep 17 00:00:00 2001
|
|
From: Qi Tao <taoqi10@huawei.com>
|
|
Date: Thu, 30 Nov 2023 16:54:46 +0800
|
|
Subject: [PATCH 098/123] uadk: fix header file is not self contained
|
|
|
|
Header files are not self contained, fix it.
|
|
|
|
Signed-off-by: Wenkai Lin <linwenkai6@hisilicon.com>
|
|
---
|
|
include/wd.h | 1 +
|
|
include/wd_alg_common.h | 1 +
|
|
include/wd_cipher.h | 1 +
|
|
include/wd_sched.h | 1 +
|
|
include/wd_util.h | 2 ++
|
|
5 files changed, 6 insertions(+)
|
|
|
|
diff --git a/include/wd.h b/include/wd.h
|
|
index 0a654d6..80982b0 100644
|
|
--- a/include/wd.h
|
|
+++ b/include/wd.h
|
|
@@ -7,6 +7,7 @@
|
|
#ifndef __WD_H
|
|
#define __WD_H
|
|
#include <errno.h>
|
|
+#include <numa.h>
|
|
#include <fcntl.h>
|
|
#include <stdbool.h>
|
|
#include <stdint.h>
|
|
diff --git a/include/wd_alg_common.h b/include/wd_alg_common.h
|
|
index 77845a4..5652db3 100644
|
|
--- a/include/wd_alg_common.h
|
|
+++ b/include/wd_alg_common.h
|
|
@@ -9,6 +9,7 @@
|
|
|
|
#include <pthread.h>
|
|
#include <stdbool.h>
|
|
+#include <numa.h>
|
|
#include "wd.h"
|
|
#include "wd_alg.h"
|
|
|
|
diff --git a/include/wd_cipher.h b/include/wd_cipher.h
|
|
index 7e63402..a712b53 100644
|
|
--- a/include/wd_cipher.h
|
|
+++ b/include/wd_cipher.h
|
|
@@ -8,6 +8,7 @@
|
|
#define __WD_CIPHER_H
|
|
|
|
#include <dlfcn.h>
|
|
+#include <asm/types.h>
|
|
#include "wd_alg_common.h"
|
|
|
|
#ifdef __cplusplus
|
|
diff --git a/include/wd_sched.h b/include/wd_sched.h
|
|
index a492d70..b145172 100644
|
|
--- a/include/wd_sched.h
|
|
+++ b/include/wd_sched.h
|
|
@@ -6,6 +6,7 @@
|
|
|
|
#ifndef SCHED_SAMPLE_h
|
|
#define SCHED_SAMPLE_h
|
|
+#include <asm/types.h>
|
|
#include "wd_alg_common.h"
|
|
|
|
#ifdef __cplusplus
|
|
diff --git a/include/wd_util.h b/include/wd_util.h
|
|
index 0f35ccf..4536937 100644
|
|
--- a/include/wd_util.h
|
|
+++ b/include/wd_util.h
|
|
@@ -13,7 +13,9 @@
|
|
#include <sys/shm.h>
|
|
#include <asm/types.h>
|
|
|
|
+#include "wd.h"
|
|
#include "wd_sched.h"
|
|
+#include "wd_alg.h"
|
|
|
|
#ifdef __cplusplus
|
|
extern "C" {
|
|
--
|
|
2.31.1.windows.1
|
|
|