Fix for UMR on newer C++

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



[AMD Official Use Only - General]


I noticed this today; it's required to explicitly include "<string>" in newer GCC's, which I think has to do with newer C++ standards.

None the less, see the attached patch.

From c6863e7687404c628521d2a96d0055ec982f6df3 Mon Sep 17 00:00:00 2001
From: Jeremy Newton <Jeremy.Newton@xxxxxxx>
Date: Mon, 23 Jan 2023 17:44:45 -0500
Subject: [PATCH] gui: missing string include

Fixes build issue on newer C++

Signed-off-by: Jeremy Newton <Jeremy.Newton@xxxxxxx>
---
 src/app/gui/kms_panel.cpp | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/app/gui/kms_panel.cpp b/src/app/gui/kms_panel.cpp
index 64076f0..e97c5dc 100644
--- a/src/app/gui/kms_panel.cpp
+++ b/src/app/gui/kms_panel.cpp
@@ -24,6 +24,7 @@
  */
 #include "panels.h"
 #include <map>
+#include <string>
 
 class KmsPanel : public Panel {
 public:
-- 
2.39.0


[Index of Archives]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux