From 21675c9b68741d15b678598aa555536bfc6a6f76 Mon Sep 17 00:00:00 2001
From: lat9nq <22451773+lat9nq@users.noreply.github.com>
Date: Tue, 27 Jun 2023 19:13:54 -0400
Subject: [PATCH] settings: Clean up includes

Adds <version> since we are looking at C++ implementation version
details. Also moves exception header includes into the if preprocessor
command since we only use it there.
---
 src/common/settings.cpp | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/src/common/settings.cpp b/src/common/settings.cpp
index a1df691407..6cbbea1b21 100644
--- a/src/common/settings.cpp
+++ b/src/common/settings.cpp
@@ -1,10 +1,11 @@
 // SPDX-FileCopyrightText: Copyright 2021 yuzu Emulator Project
 // SPDX-License-Identifier: GPL-2.0-or-later
 
-#include <exception>
-#include <stdexcept>
+#include <version>
 #if __cpp_lib_chrono >= 201907L
 #include <chrono>
+#include <exception>
+#include <stdexcept>
 #endif
 #include <string_view>