diff --git a/Source/Glitch64/Glitch64.vcproj b/Source/Glitch64/Glitch64.vcproj
index 9ee432601..a7b5b14a2 100644
--- a/Source/Glitch64/Glitch64.vcproj
+++ b/Source/Glitch64/Glitch64.vcproj
@@ -136,7 +136,7 @@
>
diff --git a/Source/Glitch64/OGLEScombiner.cpp b/Source/Glitch64/OGLEScombiner.cpp
index 1933230da..0408ea394 100644
--- a/Source/Glitch64/OGLEScombiner.cpp
+++ b/Source/Glitch64/OGLEScombiner.cpp
@@ -27,7 +27,7 @@
#include
#include
#include "glide.h"
-#include "main.h"
+#include "glitchmain.h"
void vbo_draw();
diff --git a/Source/Glitch64/OGLESgeometry.cpp b/Source/Glitch64/OGLESgeometry.cpp
index a1627beef..b2208c682 100644
--- a/Source/Glitch64/OGLESgeometry.cpp
+++ b/Source/Glitch64/OGLESgeometry.cpp
@@ -24,7 +24,7 @@
#include
#endif // _WIN32
#include "glide.h"
-#include "main.h"
+#include "glitchmain.h"
#include "../Glide64/winlnxdefs.h"
#include "../Glide64/rdp.h"
diff --git a/Source/Glitch64/OGLESglitchmain.cpp b/Source/Glitch64/OGLESglitchmain.cpp
index f226dc391..d634af00b 100644
--- a/Source/Glitch64/OGLESglitchmain.cpp
+++ b/Source/Glitch64/OGLESglitchmain.cpp
@@ -36,7 +36,7 @@
#include
#include "glide.h"
#include "g3ext.h"
-#include "main.h"
+#include "glitchmain.h"
#include "m64p.h"
#include
diff --git a/Source/Glitch64/OGLEStextures.cpp b/Source/Glitch64/OGLEStextures.cpp
index 7605322a0..2f06859c1 100644
--- a/Source/Glitch64/OGLEStextures.cpp
+++ b/Source/Glitch64/OGLEStextures.cpp
@@ -24,7 +24,7 @@
#include
#endif // _WIN32
#include "glide.h"
-#include "main.h"
+#include "glitchmain.h"
#include
/* Napalm extensions to GrTextureFormat_t */
diff --git a/Source/Glitch64/OGLcombiner.cpp b/Source/Glitch64/OGLcombiner.cpp
index d3620cb81..b9b2b1401 100644
--- a/Source/Glitch64/OGLcombiner.cpp
+++ b/Source/Glitch64/OGLcombiner.cpp
@@ -8,7 +8,7 @@
#include
#include
#include "glide.h"
-#include "main.h"
+#include "glitchmain.h"
static int fct[4], source0[4], operand0[4], source1[4], operand1[4], source2[4], operand2[4];
static int fcta[4],sourcea0[4],operanda0[4],sourcea1[4],operanda1[4],sourcea2[4],operanda2[4];
diff --git a/Source/Glitch64/OGLgeometry.cpp b/Source/Glitch64/OGLgeometry.cpp
index 3bfbb28ca..408b6651e 100644
--- a/Source/Glitch64/OGLgeometry.cpp
+++ b/Source/Glitch64/OGLgeometry.cpp
@@ -3,7 +3,7 @@
#include
#endif // _WIN32
#include "glide.h"
-#include "main.h"
+#include "glitchmain.h"
#define Z_MAX (65536.0f)
diff --git a/Source/Glitch64/OGLglitchmain.cpp b/Source/Glitch64/OGLglitchmain.cpp
index c8a9ceb5f..903e8be72 100644
--- a/Source/Glitch64/OGLglitchmain.cpp
+++ b/Source/Glitch64/OGLglitchmain.cpp
@@ -16,7 +16,7 @@
#include
#include "glide.h"
#include "g3ext.h"
-#include "main.h"
+#include "glitchmain.h"
#ifdef VPDEBUG
#include
diff --git a/Source/Glitch64/OGLtextures.cpp b/Source/Glitch64/OGLtextures.cpp
index 5b56384c0..d1ce05ab1 100644
--- a/Source/Glitch64/OGLtextures.cpp
+++ b/Source/Glitch64/OGLtextures.cpp
@@ -4,7 +4,7 @@
#include
#endif // _WIN32
#include "glide.h"
-#include "main.h"
+#include "glitchmain.h"
#include
#include
diff --git a/Source/Glitch64/main.h b/Source/Glitch64/glitchmain.h
similarity index 100%
rename from Source/Glitch64/main.h
rename to Source/Glitch64/glitchmain.h