summaryrefslogtreecommitdiff
path: root/skel
diff options
Diffstat (limited to 'skel')
-rw-r--r--skel15
1 files changed, 12 insertions, 3 deletions
diff --git a/skel b/skel
index de4db60..a00f966 100644
--- a/skel
+++ b/skel
@@ -25,17 +25,26 @@
/* Version strings. */
const char rcs_flexml_skeleton[] =
- "$Id: skel,v 1.38 2006/09/12 18:05:45 wdowling Exp $";
+ "$Id: skel,v 1.40 2007/10/11 09:57:24 mquinson Exp $";
FLEXML_VERSION
/* ANSI headers. */
-#include <unistd.h>
+#include <stdlib.h> /* for realloc() -- needed here when using flex 2.5.4 */
#include <stdio.h>
#include <string.h>
#include <assert.h>
#include <stdarg.h>
#include <ctype.h>
-
+
+#if defined(_WIN32) || defined(__WIN32__) || defined(WIN32) || defined(__TOS_WIN__)
+# ifndef __STRICT_ANSI__
+# include <io.h>
+# include <process.h>
+# endif
+#else
+# include <unistd.h>
+#endif
+
#ifndef FLEXML_INDEXSTACKSIZE
#define FLEXML_INDEXSTACKSIZE 1000
#endif