summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorColin Harrison <colin.harrison-at-virgin.net>2008-05-05 22:17:55 +0100
committerAlan Hourihane <alanh@tungstengraphics.com>2008-05-05 22:17:55 +0100
commit67311922a2e02d8a763831831b65bb4833db58b5 (patch)
treeb9c8e5ed70e1d655557b130ccebd42970c3bf5c3
parent6ba408c956ca8e241d10d463c45b4e987b757333 (diff)
Fix build for WIN32
-rwxr-xr-x[-rw-r--r--]src/fontfile/dirfile.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/fontfile/dirfile.c b/src/fontfile/dirfile.c
index 3159a5e..a13798a 100644..100755
--- a/src/fontfile/dirfile.c
+++ b/src/fontfile/dirfile.c
@@ -66,6 +66,9 @@ FontFileReadDirectory (char *directory, FontDirectoryPtr *pdir)
status;
struct stat statb;
static char format[24] = "";
+#if defined(__UNIXOS2__) || defined(WIN32)
+ int i;
+#endif
FontDirectoryPtr dir = NullFontDirectory;