Index: trunk/thirds/cgic206/cgic.c
===================================================================
--- trunk/thirds/cgic206/cgic.c	(revision 364)
+++ trunk/thirds/cgic206/cgic.c	(revision 379)
@@ -23,4 +23,8 @@
 #define CGICDEBUGEND
 #endif /* CGICDEBUG */
+
+#ifdef WIN32
+#define _INC_STDIO
+#endif
 
 #include <stdio.h>
Index: trunk/thirds/dirent-win32/dirent.h
===================================================================
--- trunk/thirds/dirent-win32/dirent.h	(revision 364)
+++ trunk/thirds/dirent-win32/dirent.h	(revision 379)
@@ -1,4 +1,4 @@
 #ifndef DIRENT_INCLUDED
-#define DIRENT_INCLUDED
+#define DIRENT_INCLUDED 1
 
 /*
