--- tinycc.orig/tcc.c	Mon Oct  9 14:12:09 2006
+++ tinycc/tcc.c	Sun Oct 15 20:51:17 2006
@@ -40,7 +40,6 @@
 #include <time.h>
 #ifdef WIN32
 #include <sys/timeb.h>
-#include <windows.h>
 #endif
 #ifndef WIN32
 #include <sys/time.h>
@@ -724,6 +723,10 @@
 void *__stdcall GetModuleHandleA(const char *);
 void *__stdcall LoadLibraryA(const char *);
 int __stdcall FreeConsole(void);
+
+#define DWORD unsigned long
+#define PAGE_EXECUTE_READWRITE 0x0040
+int __stdcall VirtualProtect(void *, DWORD, DWORD, DWORD *);
 
 #define snprintf _snprintf
 #define vsnprintf _vsnprintf
