Merge pull request #18099 from unknownbrackets/include-guards

Build: Add some missing include guards.
This commit is contained in:
Henrik Rydgård 2023-09-08 08:33:53 +02:00 committed by GitHub
commit ce4ee78157
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
16 changed files with 30 additions and 4 deletions

View File

@ -1,3 +1,5 @@
#pragma once
#include <cstring>
#include <string>
#include <vector>

View File

@ -9,6 +9,8 @@
//
// Zero dependencies apart from stdlib (if you remove the vhjson usage.)
#pragma once
#include <string>
#include <vector>
#include <sstream>

View File

@ -1,3 +1,5 @@
#pragma once
#include <cstdint>
#include "Common/Input/InputState.h"
#include "Common/Math/geom2d.h"

View File

@ -15,6 +15,8 @@
// Official git repository and contact information can be found at
// https://github.com/hrydgard/ppsspp and http://www.ppsspp.org/.
#pragma once
#include <cstdio>
#include "Core/HLE/sceKernelThread.h"
#include "Core/MIPS/MIPSDebugInterface.h"

View File

@ -15,13 +15,14 @@
// Official git repository and contact information can be found at
// https://github.com/hrydgard/ppsspp and http://www.ppsspp.org/.
#include "Common/Crypto/md5.h"
#include "Common/Crypto/sha1.h"
#include "Common/Data/Random/Rng.h"
#include "Core/HLE/HLE.h"
#include "Core/HLE/FunctionWrappers.h"
#include "Core/HLE/sceMd5.h"
#include "Core/MemMap.h"
#include "Core/Reporting.h"
#include "Common/Crypto/md5.h"
#include "Common/Crypto/sha1.h"
#ifdef USE_CRT_DBG
#undef new

View File

@ -15,6 +15,7 @@
// Official git repository and contact information can be found at
// https://github.com/hrydgard/ppsspp and http://www.ppsspp.org/.
#include "Common/Data/Random/Rng.h"
#include "Core/HLE/HLE.h"
#include "Core/HLE/FunctionWrappers.h"
#include "Core/HLE/sceMt19937.h"

View File

@ -15,6 +15,8 @@
// Official git repository and contact information can be found at
// https://github.com/hrydgard/ppsspp and http://www.ppsspp.org/.
#pragma once
#include <map>
#include <set>
#include <mutex>

View File

@ -1,5 +1,6 @@
#pragma once
#include <cstdint>
#include <vector>
#include <utility>
@ -16,7 +17,7 @@
// even be directly JIT-ed, but the gains will probably be tiny over our older direct
// MIPS->target JITs.
enum class IROp : u8 {
enum class IROp : uint8_t {
Nop,
SetConst,

View File

@ -15,6 +15,8 @@
// Official git repository and contact information can be found at
// https://github.com/hrydgard/ppsspp and http://www.ppsspp.org/.
#pragma once
#include <unordered_map>
#include "Core/MIPS/IR/IRJit.h"
#include "Core/MIPS/JitCommon/JitBlockCache.h"

View File

@ -21,7 +21,6 @@
#include <cstddef>
#include "Common/Data/Random/Rng.h"
#include "Common/CommonTypes.h"
#include "Core/Opcode.h"

View File

@ -15,6 +15,8 @@
// Official git repository and contact information can be found at
// https://github.com/hrydgard/ppsspp and http://www.ppsspp.org/.
#pragma once
#include <functional>
#include <string>
#include <vector>

View File

@ -18,6 +18,8 @@
// Basic ARM64 disassembler.
// No promises of accuracy, mostly just made to debug JIT code.
#pragma once
#include <cstdint>
typedef bool (*SymbolCallback)(char *buffer, int bufsize, uint8_t *address);

View File

@ -15,6 +15,8 @@
// Official git repository and contact information can be found at
// https://github.com/hrydgard/ppsspp and http://www.ppsspp.org/.
#pragma once
enum class WebServerFlags {
DISCS = 1,
DEBUGGER = 2,

View File

@ -15,6 +15,8 @@
// Official git repository and contact information can be found at
// https://github.com/hrydgard/ppsspp and http://www.ppsspp.org/.
#pragma once
#include "GPU/ge_constants.h"
enum class GECmdFormat {

View File

@ -15,6 +15,8 @@
// Official git repository and contact information can be found at
// https://github.com/hrydgard/ppsspp and http://www.ppsspp.org/.
#pragma once
#include "Common/CommonTypes.h"
void GeDescribeVertexType(u32 op, char *buffer, int len = 256);

View File

@ -15,6 +15,8 @@
// Official git repository and contact information can be found at
// https://github.com/hrydgard/ppsspp and http://www.ppsspp.org/.
#pragma once
#include <cstdint>
#include <functional>