shithub: cstory

Download patch

ref: 6a040c224819b10202bba1094d50327682022575
parent: 6d8c5c1d75d6a5ffa85003a56e114b2847b83380
author: Clownacy <Clownacy@users.noreply.github.com>
date: Thu Aug 1 09:32:27 EDT 2019

Add missing #includes to rendering backends

--- a/src/Backends/Rendering/OpenGL3.cpp
+++ b/src/Backends/Rendering/OpenGL3.cpp
@@ -1,6 +1,8 @@
 #include "../Rendering.h"
 
+#include <math.h>
 #include <stddef.h>
+#include <stdio.h>
 #include <stdlib.h>
 
 #include <GL/glew.h>
--- a/src/Backends/Rendering/SDLSurface.cpp
+++ b/src/Backends/Rendering/SDLSurface.cpp
@@ -1,5 +1,6 @@
 #include "../Rendering.h"
 
+#include <math.h>
 #include <stddef.h>
 #include <stdlib.h>
 
--- a/src/Backends/Rendering/SDLTexture.cpp
+++ b/src/Backends/Rendering/SDLTexture.cpp
@@ -1,5 +1,6 @@
 #include "../Rendering.h"
 
+#include <math.h>
 #include <stddef.h>
 #include <stdlib.h>
 
--- a/src/Backends/Rendering/Software.cpp
+++ b/src/Backends/Rendering/Software.cpp
@@ -1,5 +1,6 @@
 #include "../Rendering.h"
 
+#include <math.h>
 #include <stddef.h>
 #include <stdlib.h>