Merge pull request #840 from cxd4/fix-undeclared-functions

[core] Explicitly ensure that the necessary includes are included.
This commit is contained in:
zilmar 2015-12-22 09:13:55 +11:00
commit 3a6df25a2c
12 changed files with 27 additions and 1 deletions

View File

@ -43,6 +43,9 @@ documentation and/or software.
#include <string>
#include <functional>
#include <stdio.h>
#include <string.h>
#include "path.h"
struct MD5Digest

View File

@ -10,6 +10,10 @@
****************************************************************************/
#include "stdafx.h"
#include "Logging.h"
#include <string.h>
#include <stdio.h>
#include <stdarg.h>
#include <Common/path.h>
#include <Project64-core/N64System/SystemGlobals.h>
#include <Project64-core/N64System/Mips/TranslateVaddr.h>

View File

@ -9,6 +9,7 @@
* *
****************************************************************************/
#include "stdafx.h"
#include <stdio.h>
#include <Common/stdtypes.h>
#include <Common/path.h>

View File

@ -9,8 +9,9 @@
* *
****************************************************************************/
#include "stdafx.h"
#include <string.h>
#include "CheatClass.h"
#include <Project64-core/Settings/SettingType/SettingsType-Cheats.h>
#include <Project64-core/Plugins/GFXPlugin.h>
#include <Project64-core/Plugins/AudioPlugin.h>

View File

@ -9,6 +9,7 @@
* *
****************************************************************************/
#include "stdafx.h"
#include <stdio.h>
#include "OpCode.h"
#include "RegisterClass.h"

View File

@ -9,7 +9,10 @@
* *
****************************************************************************/
#include "stdafx.h"
#include <stdio.h>
#include <string.h>
#include "PifRam.h"
#include <Project64-core/N64System/SystemGlobals.h>
#include <Project64-core/Plugins/ControllerPlugin.h>
#include <Project64-core/N64System/Mips/RegisterClass.h>

View File

@ -9,7 +9,9 @@
* *
****************************************************************************/
#include "stdafx.h"
#include <string.h>
#include "RegisterClass.h"
#include <Project64-core/N64System/N64Class.h>
#include <Project64-core/N64System/SystemGlobals.h>
#include <Project64-core/Logging.h>

View File

@ -10,6 +10,8 @@
****************************************************************************/
#pragma once
#include <Common/stdtypes.h>
enum PauseType
{
PauseType_FromMenu,

View File

@ -9,8 +9,10 @@
* *
****************************************************************************/
#include "stdafx.h"
#include <string.h>
#include "CodeBlock.h"
#include "x86CodeLog.h"
#include <Project64-core/N64System/SystemGlobals.h>
#include <Project64-core/N64System/Mips/TranslateVaddr.h>
#include <Project64-core/N64System/N64Class.h>

View File

@ -9,7 +9,9 @@
* *
****************************************************************************/
#include "stdafx.h"
#include <string.h>
#include "LoopAnalysis.h"
#include <Project64-core/N64System/N64Types.h>
#include <Project64-core/N64System/Recompiler/CodeBlock.h>
#include <Project64-core/N64System/Recompiler/x86CodeLog.h>

View File

@ -15,6 +15,8 @@
#include <Project64-core/N64System/Interpreter/InterpreterOps.h>
#include <Project64-core/N64System/Interpreter/InterpreterCPU.h>
#include <Project64-core/N64System/N64Class.h>
#include <stdio.h>
#include "RecompilerClass.h"
#include "RecompilerOps.h"
#include "CodeSection.h"

View File

@ -11,6 +11,9 @@
#include "stdafx.h"
#include <Project64-core/N64System/SystemGlobals.h>
#include <Project64-core/N64System/N64Class.h>
#include <stdio.h>
#include <string.h>
#include "RegInfo.h"
#include "RecompilerClass.h"
#include "x86CodeLog.h"