Skip to content

VERY experimental Nintendo Switch 2 emulator

C++

core/reporter: Add missing includes and forward declarations

Lioncash770387fadb2a
diff --git a/src/core/reporter.cpp b/src/core/reporter.cpp
index d79a9336d4..dbc350070d 100644
--- a/src/core/reporter.cpp
+++ b/src/core/reporter.cpp
@@ -2,8 +2,13 @@
// Licensed under GPLv2 or any later version
// Refer to the license.txt file included.
+#include <ctime>
#include <fstream>
+
+#include <fmt/format.h>
+#include <fmt/time.h>
#include <json.hpp>
+
#include "common/file_util.h"
#include "common/hex_util.h"
#include "common/scm_rev.h"
@@ -14,7 +19,6 @@
#include "core/hle/result.h"
#include "core/reporter.h"
#include "core/settings.h"
-#include "fmt/time.h"
namespace {
diff --git a/src/core/reporter.h b/src/core/reporter.h
index 9487a11b67..4266ca5507 100644
--- a/src/core/reporter.h
+++ b/src/core/reporter.h
@@ -4,7 +4,9 @@
#pragma once
+#include <array>
#include <optional>
+#include <string>
#include <vector>
#include "common/common_types.h"
@@ -16,6 +18,8 @@ class HLERequestContext;
namespace Core {
+class System;
+
class Reporter {
public:
explicit Reporter(System& system);