Browse Source

Fix windows build

Alex Szpakowski 7 years ago
parent
commit
785902d8bd
1 changed files with 3 additions and 0 deletions
  1. 3 0
      src/modules/graphics/Buffer.cpp

+ 3 - 0
src/modules/graphics/Buffer.cpp

@@ -18,10 +18,13 @@
  * 3. This notice may not be removed or altered from any source distribution.
  **/
 
+#include "common/config.h"
 #include "Buffer.h"
 #include "Graphics.h"
 #include "common/Exception.h"
 
+#include <algorithm> // std::min
+
 namespace love
 {
 namespace graphics