diff --git a/include/SFML/Window/Vulkan.hpp b/include/SFML/Window/Vulkan.hpp index 5de42b316..a4fd20535 100644 --- a/include/SFML/Window/Vulkan.hpp +++ b/include/SFML/Window/Vulkan.hpp @@ -41,7 +41,7 @@ using VkSurfaceKHR = struct VkSurfaceKHR_T*; #else -using VkSurfaceKHR = uint64_t; +using VkSurfaceKHR = std::uint64_t; #endif diff --git a/include/SFML/Window/Window.hpp b/include/SFML/Window/Window.hpp index ab4ee78b7..fa3b564f5 100644 --- a/include/SFML/Window/Window.hpp +++ b/include/SFML/Window/Window.hpp @@ -31,6 +31,7 @@ #include #include #include +#include #include #include diff --git a/include/SFML/Window/WindowBase.hpp b/include/SFML/Window/WindowBase.hpp index 4f76b9a0e..28fd10e01 100644 --- a/include/SFML/Window/WindowBase.hpp +++ b/include/SFML/Window/WindowBase.hpp @@ -28,20 +28,19 @@ //////////////////////////////////////////////////////////// // Headers //////////////////////////////////////////////////////////// -#include #include -#include #include #include #include -#include #include #include namespace sf { +class Cursor; class String; +class VideoMode; namespace priv { diff --git a/src/SFML/Graphics/RenderWindow.cpp b/src/SFML/Graphics/RenderWindow.cpp index a8009d86a..b6438e645 100644 --- a/src/SFML/Graphics/RenderWindow.cpp +++ b/src/SFML/Graphics/RenderWindow.cpp @@ -25,6 +25,7 @@ //////////////////////////////////////////////////////////// // Headers //////////////////////////////////////////////////////////// +#include #include #include #include diff --git a/src/SFML/Window/Win32/SensorImpl.hpp b/src/SFML/Window/Win32/SensorImpl.hpp index cb9218173..de22fcbca 100644 --- a/src/SFML/Window/Win32/SensorImpl.hpp +++ b/src/SFML/Window/Win32/SensorImpl.hpp @@ -25,6 +25,11 @@ #ifndef SFML_SENSORIMPLWIN32_HPP #define SFML_SENSORIMPLWIN32_HPP +//////////////////////////////////////////////////////////// +// Headers +//////////////////////////////////////////////////////////// +#include + namespace sf {