Include dependent headers harder

Prepares for changing some includes in StdString.h
This commit is contained in:
Arthur Eubanks
2025-04-22 23:22:56 -07:00
committed by teejusb
parent 5323bf998e
commit ebcd50679d
9 changed files with 11 additions and 1 deletions
+1
View File
@@ -4,6 +4,7 @@
#include <unordered_set>
#include <vector>
#include "global.h"
/** @brief Constants for working with the RageFileManager. */
namespace RageFileManagerUtil
+1
View File
@@ -6,6 +6,7 @@
#include "RageThreads.h"
#include <ctime>
#include <cstdarg>
#include <map>
#include <vector>
+1
View File
@@ -12,6 +12,7 @@
#endif
#include <cerrno>
#include <cstdarg>
#include <cstddef>
#include <cstdint>
#include <cstring>
+1 -1
View File
@@ -5,10 +5,10 @@
#include "global.h"
#include <algorithm>
#include <cmath>
#include <cstddef>
#include <cstdint>
#include <cstring>
#include <map>
#include <random>
#include <sstream>
+2
View File
@@ -3,6 +3,8 @@
#ifndef RAGE_UTIL_CIRCULAR_BUFFER
#define RAGE_UTIL_CIRCULAR_BUFFER
#include <cstring>
/* Lock-free circular buffer. This should be threadsafe if one thread is reading
* and another is writing. */
template<class T>
+2
View File
@@ -1,6 +1,8 @@
#ifndef DIALOG_BOX_H
#define DIALOG_BOX_H
#include "global.h"
namespace Dialog
{
/* ID can be used to identify a class of messages, for "don't display this
+1
View File
@@ -5,6 +5,7 @@
#include <cstdint>
#include <cstdio>
#include <cstdlib>
#include <cstring>
#if defined(HAVE_UNISTD_H)
#include <unistd.h>
#endif
@@ -2,6 +2,7 @@
#include "CrashHandlerInternal.h"
#include <csignal>
#include <cstring>
const char *itoa( unsigned n )
{
+1
View File
@@ -9,6 +9,7 @@
#endif
#include <cerrno>
#include <cstring>
#include <memory>
#include <vector>