Browse Source

Include <algorithm> when std::min/max is used.

It won't build in Visual Studio 2013 unless we do this.
rude 11 years ago
parent
commit
27de844472
2 changed files with 2 additions and 0 deletions
  1. 1 0
      src/common/runtime.cpp
  2. 1 0
      src/modules/graphics/opengl/ParticleSystem.cpp

+ 1 - 0
src/common/runtime.cpp

@@ -29,6 +29,7 @@
 #include <thread/threads.h>
 
 // C++
+#include <algorithm>
 #include <iostream>
 #include <cstdio>
 

+ 1 - 0
src/modules/graphics/opengl/ParticleSystem.cpp

@@ -27,6 +27,7 @@
 #include "OpenGL.h"
 
 // STD
+#include <algorithm>
 #include <cmath>
 #include <cstdlib>