Merge pull request #876 from linkmauve/include-cleanups

Cleanup includes, mostly in common
This commit is contained in:
Yuri Kunde Schlesner 2015-07-10 16:36:12 -07:00
commit 867c28ae03
108 changed files with 380 additions and 408 deletions

View file

@ -2,6 +2,7 @@
// Licensed under GPLv2 or any later version
// Refer to the license.txt file included.
#include <cstring>
#include <string>
#include <memory>
@ -10,7 +11,7 @@
#include "common/logging/log.h"
#include "common/symbols.h"
#include "core/hle/kernel/kernel.h"
#include "core/hle/kernel/process.h"
#include "core/hle/kernel/resource_limit.h"
#include "core/loader/elf.h"
#include "core/memory.h"

View file

@ -2,10 +2,12 @@
// Licensed under GPLv2 or any later version
// Refer to the license.txt file included.
#include <memory>
#include <string>
#include "common/logging/log.h"
#include "common/make_unique.h"
#include "common/string_util.h"
#include "core/file_sys/archive_romfs.h"
#include "core/hle/kernel/process.h"

View file

@ -4,12 +4,18 @@
#pragma once
#include <algorithm>
#include <initializer_list>
#include <memory>
#include <string>
#include <vector>
#include "common/common_types.h"
#include "common/file_util.h"
#include "core/hle/kernel/process.h"
namespace Kernel {
struct AddressMapping;
}
////////////////////////////////////////////////////////////////////////////////////////////////////
// Loader namespace

View file

@ -3,6 +3,7 @@
// Refer to the license.txt file included.
#include <algorithm>
#include <cstring>
#include <memory>
#include "common/logging/log.h"
@ -10,7 +11,7 @@
#include "common/string_util.h"
#include "common/swap.h"
#include "core/hle/kernel/kernel.h"
#include "core/hle/kernel/process.h"
#include "core/hle/kernel/resource_limit.h"
#include "core/loader/ncch.h"
#include "core/memory.h"