summaryrefslogtreecommitdiff
path: root/0032-fix-oci-import-compile-error.patch
diff options
context:
space:
mode:
Diffstat (limited to '0032-fix-oci-import-compile-error.patch')
-rw-r--r--0032-fix-oci-import-compile-error.patch25
1 files changed, 25 insertions, 0 deletions
diff --git a/0032-fix-oci-import-compile-error.patch b/0032-fix-oci-import-compile-error.patch
new file mode 100644
index 0000000..625b5ba
--- /dev/null
+++ b/0032-fix-oci-import-compile-error.patch
@@ -0,0 +1,25 @@
+From ff0bf5155c163c5230b3ac6d71e2dfc1ed6cfa01 Mon Sep 17 00:00:00 2001
+From: haozi007 <liuhao27@huawei.com>
+Date: Tue, 12 Sep 2023 17:24:24 +0800
+Subject: [PATCH 32/33] fix oci import compile error
+
+Signed-off-by: haozi007 <liuhao27@huawei.com>
+---
+ src/daemon/modules/image/oci/oci_import.c | 1 +
+ 1 file changed, 1 insertion(+)
+
+diff --git a/src/daemon/modules/image/oci/oci_import.c b/src/daemon/modules/image/oci/oci_import.c
+index 0568c23f..058107a4 100644
+--- a/src/daemon/modules/image/oci/oci_import.c
++++ b/src/daemon/modules/image/oci/oci_import.c
+@@ -33,6 +33,7 @@
+ #include "utils_file.h"
+ #include "utils_timestamp.h"
+ #include "util_archive.h"
++#include "utils_images.h"
+
+ #define IMPORT_COMMENT "Imported from tarball"
+ #define ROOTFS_TYPE "layers"
+--
+2.40.1
+