Browse Source

Fix more Windows compilation issues

--HG--
branch : minor
Alex Szpakowski 8 years ago
parent
commit
a6a7f03b3a
2 changed files with 5 additions and 0 deletions
  1. 4 0
      src/modules/graphics/Graphics.cpp
  2. 1 0
      src/modules/graphics/Graphics.h

+ 4 - 0
src/modules/graphics/Graphics.cpp

@@ -18,10 +18,14 @@
  * 3. This notice may not be removed or altered from any source distribution.
  **/
 
+// LOVE
 #include "Graphics.h"
 #include "math/MathModule.h"
 #include "Polyline.h"
 
+// C++
+#include <algorithm>
+
 namespace love
 {
 namespace graphics

+ 1 - 0
src/modules/graphics/Graphics.h

@@ -22,6 +22,7 @@
 #define LOVE_GRAPHICS_GRAPHICS_H
 
 // LOVE
+#include "common/config.h"
 #include "common/Module.h"
 #include "common/StringMap.h"
 #include "StreamBuffer.h"