From 340b1be4850c8316ee858f597bcb729363f142b7 Mon Sep 17 00:00:00 2001
From: leeffo <liweiganga@uniontech.com>
Date: Thu, 3 Aug 2023 10:15:30 +0800
Subject: [PATCH] fix undefined std::array

---
 .../dialogs/private/ddesktoprenamedialog_p.h                     | 1 +
 src/dde-file-manager-lib/views/drenamebar.h                      | 1 +
 2 files changed, 2 insertions(+)

diff --git a/src/dde-file-manager-lib/dialogs/private/ddesktoprenamedialog_p.h b/src/dde-file-manager-lib/dialogs/private/ddesktoprenamedialog_p.h
index 80c5c20..f018762 100644
--- a/src/dde-file-manager-lib/dialogs/private/ddesktoprenamedialog_p.h
+++ b/src/dde-file-manager-lib/dialogs/private/ddesktoprenamedialog_p.h
@@ -23,6 +23,7 @@
 #ifndef DDESKTOPRENAMEDIALOG_P_H
 #define DDESKTOPRENAMEDIALOG_P_H
 
+#include <array>
 #include <QString>
 #include <QLineEdit>
 #include <QLabel>
diff --git a/src/dde-file-manager-lib/views/drenamebar.h b/src/dde-file-manager-lib/views/drenamebar.h
index 45f3b09..b59fa8f 100644
--- a/src/dde-file-manager-lib/views/drenamebar.h
+++ b/src/dde-file-manager-lib/views/drenamebar.h
@@ -26,6 +26,7 @@
 #define DRENAMEBAR_H
 
 
+#include <array>
 #include <QList>
 #include <QFrame>
 #include <memory>
-- 
2.20.1

