ALL: Add limits.h for all codebase

This commit is contained in:
Le Philousophe 2022-08-22 13:40:54 +02:00
parent a0f02d93c5
commit 111d259015
13 changed files with 6 additions and 10 deletions

View File

@ -44,7 +44,6 @@
#include <sys/stat.h>
#include <sys/mount.h>
#include <limits.h>
#include "common/scummsys.h"

View File

@ -29,6 +29,7 @@
#include <stddef.h>
#include <assert.h>
#include <ctype.h>
#include <limits.h>
#define _USE_MATH_DEFINES
#include <math.h>
#include <new>

View File

@ -29,6 +29,7 @@
#include <stddef.h>
#include <assert.h>
#include <ctype.h>
#include <limits.h>
#include <math.h>
#include <new>

View File

@ -39,6 +39,7 @@ typedef unsigned int uint;
#include <stddef.h>
#include <assert.h>
#include <ctype.h>
#include <limits.h>
#include <math.h>
#include <new>

View File

@ -32,6 +32,7 @@
#include <stddef.h>
// No assert.h
#include <ctype.h>
#include <limits.h>
#include <math.h>
#include <new>

View File

@ -38,6 +38,7 @@
#include <stddef.h>
#include <assert.h>
#include <ctype.h>
#include <limits.h>
#include <math.h>
#include <new>

View File

@ -23,7 +23,6 @@
#include "backends/platform/sdl/riscos/riscos-utils.h"
#include <unixlib/local.h>
#include <limits.h>
namespace RISCOS_Utils {

View File

@ -27,7 +27,6 @@
#include "common/str.h"
#include "common/fs.h"
#include "common/hash-str.h"
#include <limits.h>
/**
* Provides a default savefile manager implementation for common platforms.

View File

@ -24,8 +24,6 @@
#define FORBIDDEN_SYMBOL_EXCEPTION_exit
#include <limits.h>
#include "engines/advancedDetector.h"
#include "engines/metaengine.h"
#include "base/commandLine.h"

View File

@ -19,8 +19,6 @@
*
*/
#include <limits.h>
#include "common/random.h"
#include "common/system.h"
#include "gui/EventRecorder.h"

View File

@ -123,6 +123,7 @@
#include <stddef.h>
#include <assert.h>
#include <ctype.h>
#include <limits.h>
// MSVC does not define M_PI, M_SQRT2 and other math defines by default.
// _USE_MATH_DEFINES must be defined in order to have these defined, thus
// we enable it here. For more information, check:

View File

@ -41,7 +41,6 @@
#include "engines/stark/services/staticprovider.h"
#include "engines/stark/tools/decompiler.h"
#include <limits.h>
#include "common/file.h"
namespace Stark {

View File

@ -2,8 +2,6 @@
#include "audio/timestamp.h"
#include <limits.h>
class TimestampTestSuite : public CxxTest::TestSuite
{
public: