pps: fix a missing include in Intel pps driver
authorChia-I Wu <olvaffe@gmail.com>
Fri, 21 May 2021 19:52:28 +0000 (12:52 -0700)
committerMarge Bot <eric+marge@anholt.net>
Fri, 21 May 2021 22:03:16 +0000 (22:03 +0000)
In file included from ../src/intel/ds/intel_pps_perf.cc:8:
../src/intel/ds/intel_pps_perf.h:34:78: error: ‘string’ in namespace ‘std’ does not name a type

Signed-off-by: Chia-I Wu <olvaffe@gmail.com>
Reviewed-by: Rob Clark <robdclark@chromium.org>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/10934>

src/intel/ds/intel_pps_perf.h

index a085731..14f4a34 100644 (file)
@@ -8,6 +8,7 @@
 #pragma once
 
 #include <optional>
+#include <string>
 #include <vector>
 
 #include <intel/dev/intel_device_info.h>