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.
This commit is contained in:
lat9nq 2023-06-27 19:13:54 -04:00
parent 32475efbc4
commit 21675c9b68

View File

@ -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>