From 40d2f1c00a6149f9335e5b02cc0d2fec9ffe5132 Mon Sep 17 00:00:00 2001
From: Sam Hocevar <sam@hocevar.net>
Date: Mon, 12 Jul 2010 11:54:04 +0000
Subject: [PATCH] Minor Win32 compilation fixes.

---
 src/tiler.cpp   | 4 ++++
 src/tileset.cpp | 1 -
 src/video.cpp   | 1 -
 3 files changed, 4 insertions(+), 2 deletions(-)

diff --git a/src/tiler.cpp b/src/tiler.cpp
index f551f6b2..5c50e7a6 100644
--- a/src/tiler.cpp
+++ b/src/tiler.cpp
@@ -6,6 +6,10 @@
 #include "tiler.h"
 #include "tileset.h"
 
+#if defined WIN32
+#   define strcasecmp _stricmp
+#endif
+
 /*
  * Tiler implementation class
  */
diff --git a/src/tileset.cpp b/src/tileset.cpp
index e8a4eef1..0aee13eb 100644
--- a/src/tileset.cpp
+++ b/src/tileset.cpp
@@ -8,7 +8,6 @@
 #else
 #   define GL_GLEXT_PROTOTYPES
 #   include <GL/gl.h>
-#   include <GL/glext.h>
 #endif
 
 #include <SDL.h>
diff --git a/src/video.cpp b/src/video.cpp
index f248d12a..fe2b9ee8 100644
--- a/src/video.cpp
+++ b/src/video.cpp
@@ -8,7 +8,6 @@
 #else
 #   define GL_GLEXT_PROTOTYPES
 #   include <GL/gl.h>
-#   include <GL/glext.h>
 #endif
 
 #include <SDL.h>