examples: gl: generic: recordgraphic: fix build with MSVC
authorTim-Philipp Müller <tim@centricular.com>
Wed, 19 Sep 2018 22:43:10 +0000 (23:43 +0100)
committerTim-Philipp Müller <tim@centricular.com>
Wed, 19 Sep 2018 22:43:10 +0000 (23:43 +0100)
tests/examples/gl/generic/recordgraphic/main.cpp

index 45477a2..ebb4cde 100644 (file)
@@ -17,6 +17,9 @@
  * Free Software Foundation, Inc., 51 Franklin St, Fifth Floor,
  * Boston, MA 02110-1301, USA.
  */
+#if defined(_MSC_VER)
+# include <windows.h>
+#endif
 
 #include <GL/gl.h>
 #if defined(__WIN32__) || defined(_WIN32)