Browse Source

Add include files where used

Michael Ragazzon 5 years ago
parent
commit
cb4e66e7b8

+ 1 - 0
Samples/basic/sdl2/src/main.cpp

@@ -31,6 +31,7 @@
 #include <RmlUi/Debugger/Debugger.h>
 #include <RmlUi/Debugger/Debugger.h>
 #include <Shell.h>
 #include <Shell.h>
 #include <ShellFileInterface.h>
 #include <ShellFileInterface.h>
+#include <string.h>
 
 
 #include "SystemInterfaceSDL2.h"
 #include "SystemInterfaceSDL2.h"
 #include "RenderInterfaceSDL2.h"
 #include "RenderInterfaceSDL2.h"

+ 1 - 0
Samples/basic/treeview/src/FileSystem.cpp

@@ -30,6 +30,7 @@
 #include <RmlUi/Core/StringUtilities.h>
 #include <RmlUi/Core/StringUtilities.h>
 #include <cstdlib>
 #include <cstdlib>
 #include <cstdio>
 #include <cstdio>
+#include <string.h>
 
 
 #ifdef WIN32
 #ifdef WIN32
 #include <io.h>
 #include <io.h>

+ 1 - 0
Samples/shell/src/ShellRenderInterfaceOpenGL.cpp

@@ -30,6 +30,7 @@
 #include <ShellRenderInterfaceOpenGL.h>
 #include <ShellRenderInterfaceOpenGL.h>
 #include <RmlUi/Core.h>
 #include <RmlUi/Core.h>
 #include <type_traits>
 #include <type_traits>
+#include <string.h>
 
 
 #define GL_CLAMP_TO_EDGE 0x812F
 #define GL_CLAMP_TO_EDGE 0x812F
 
 

+ 1 - 0
Samples/shell/src/macosx/InputMacOSX.cpp

@@ -31,6 +31,7 @@
 #include <RmlUi/Core/Input.h>
 #include <RmlUi/Core/Input.h>
 #include <RmlUi/Debugger.h>
 #include <RmlUi/Debugger.h>
 #include <Shell.h>
 #include <Shell.h>
+#include <string.h>
 
 
 // Defines for Carbon key modifiers.
 // Defines for Carbon key modifiers.
 #define KEY_ALT 256
 #define KEY_ALT 256

+ 1 - 0
Samples/shell/src/win32/InputWin32.cpp

@@ -32,6 +32,7 @@
 #include <RmlUi/Core/StringUtilities.h>
 #include <RmlUi/Core/StringUtilities.h>
 #include <RmlUi/Debugger.h>
 #include <RmlUi/Debugger.h>
 #include <Shell.h>
 #include <Shell.h>
+#include <string.h>
 
 
 static int GetKeyModifierState();
 static int GetKeyModifierState();
 static void InitialiseKeymap();
 static void InitialiseKeymap();

+ 1 - 0
Samples/shell/src/win32/ShellRenderInterfaceExtensionsOpenGL_Win32.cpp

@@ -32,6 +32,7 @@
 #include <RmlUi/Core.h>
 #include <RmlUi/Core.h>
 #include <RmlUi/Core/Platform.h>
 #include <RmlUi/Core/Platform.h>
 #include <Shell.h>
 #include <Shell.h>
+#include <string.h>
 
 
 void ShellRenderInterfaceOpenGL::SetContext(void *context)
 void ShellRenderInterfaceOpenGL::SetContext(void *context)
 {
 {

+ 1 - 0
Samples/shell/src/win32/ShellWin32.cpp

@@ -30,6 +30,7 @@
 #include <RmlUi/Core.h>
 #include <RmlUi/Core.h>
 #include <win32/InputWin32.h>
 #include <win32/InputWin32.h>
 #include "ShellFileInterface.h"
 #include "ShellFileInterface.h"
+#include <string.h>
 #include <stdio.h>
 #include <stdio.h>
 #include <stdarg.h>
 #include <stdarg.h>
 #include <shlwapi.h>
 #include <shlwapi.h>

+ 1 - 0
Samples/shell/src/x11/InputX11.cpp

@@ -37,6 +37,7 @@
 #endif // HAS_X11XKBLIB
 #endif // HAS_X11XKBLIB
 #include <X11/keysym.h>
 #include <X11/keysym.h>
 #include <X11/Xutil.h>
 #include <X11/Xutil.h>
+#include <string.h>
 
 
 static void InitialiseKeymap();
 static void InitialiseKeymap();
 static int GetKeyModifierState(int x_state);
 static int GetKeyModifierState(int x_state);

+ 1 - 0
Samples/shell/src/x11/ShellX11.cpp

@@ -42,6 +42,7 @@
 #include <limits.h>
 #include <limits.h>
 #include <stdio.h>
 #include <stdio.h>
 #include <stdarg.h>
 #include <stdarg.h>
+#include <string.h>
 
 
 static bool running = false;
 static bool running = false;
 static int screen = -1;
 static int screen = -1;

+ 1 - 0
Source/Core/BaseXMLParser.cpp

@@ -29,6 +29,7 @@
 #include "../../Include/RmlUi/Core/BaseXMLParser.h"
 #include "../../Include/RmlUi/Core/BaseXMLParser.h"
 #include "../../Include/RmlUi/Core/Profiling.h"
 #include "../../Include/RmlUi/Core/Profiling.h"
 #include "../../Include/RmlUi/Core/Stream.h"
 #include "../../Include/RmlUi/Core/Stream.h"
+#include <string.h>
 
 
 namespace Rml {
 namespace Rml {
 namespace Core {
 namespace Core {

+ 1 - 0
Source/Core/Box.cpp

@@ -27,6 +27,7 @@
  */
  */
 
 
 #include "../../Include/RmlUi/Core/Box.h"
 #include "../../Include/RmlUi/Core/Box.h"
+#include <string.h>
 
 
 namespace Rml {
 namespace Rml {
 namespace Core {
 namespace Core {

+ 1 - 0
Source/Core/ConvolutionFilter.cpp

@@ -28,6 +28,7 @@
 
 
 #include "../../Include/RmlUi/Core/ConvolutionFilter.h"
 #include "../../Include/RmlUi/Core/ConvolutionFilter.h"
 #include <float.h>
 #include <float.h>
+#include <string.h>
 
 
 namespace Rml {
 namespace Rml {
 namespace Core {
 namespace Core {

+ 1 - 0
Source/Core/FontEngineDefault/FreeTypeInterface.cpp

@@ -30,6 +30,7 @@
 
 
 #include "FreeTypeInterface.h"
 #include "FreeTypeInterface.h"
 
 
+#include <string.h>
 #include <ft2build.h>
 #include <ft2build.h>
 #include FT_FREETYPE_H
 #include FT_FREETYPE_H
 
 

+ 1 - 0
Source/Core/PropertyParserColour.cpp

@@ -27,6 +27,7 @@
  */
  */
 
 
 #include "PropertyParserColour.h"
 #include "PropertyParserColour.h"
+#include <string.h>
 
 
 namespace Rml {
 namespace Rml {
 namespace Core {
 namespace Core {

+ 1 - 0
Source/Core/StreamMemory.cpp

@@ -27,6 +27,7 @@
  */
  */
 
 
 #include "../../Include/RmlUi/Core/StreamMemory.h"
 #include "../../Include/RmlUi/Core/StreamMemory.h"
+#include <string.h>
 #include <stdio.h>
 #include <stdio.h>
 
 
 namespace Rml {
 namespace Rml {

+ 1 - 0
Source/Core/StyleSheetParser.cpp

@@ -41,6 +41,7 @@
 #include "../../Include/RmlUi/Core/StyleSheet.h"
 #include "../../Include/RmlUi/Core/StyleSheet.h"
 #include "../../Include/RmlUi/Core/StyleSheetSpecification.h"
 #include "../../Include/RmlUi/Core/StyleSheetSpecification.h"
 #include <algorithm>
 #include <algorithm>
+#include <string.h>
 
 
 namespace Rml {
 namespace Rml {
 namespace Core {
 namespace Core {

+ 1 - 0
Source/Core/URL.cpp

@@ -29,6 +29,7 @@
 #include "../../Include/RmlUi/Core/Log.h"
 #include "../../Include/RmlUi/Core/Log.h"
 #include "../../Include/RmlUi/Core/StringUtilities.h"
 #include "../../Include/RmlUi/Core/StringUtilities.h"
 #include "../../Include/RmlUi/Core/URL.h"
 #include "../../Include/RmlUi/Core/URL.h"
+#include <string.h>
 
 
 namespace Rml {
 namespace Rml {
 namespace Core {
 namespace Core {

+ 1 - 0
Source/Core/Variant.cpp

@@ -27,6 +27,7 @@
  */
  */
 
 
 #include "../../Include/RmlUi/Core/Variant.h"
 #include "../../Include/RmlUi/Core/Variant.h"
+#include <string.h>
 
 
 namespace Rml {
 namespace Rml {
 namespace Core {
 namespace Core {