summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatthias Melcher <fltk@matthiasm.com>2012-08-16 21:48:25 +0000
committerMatthias Melcher <fltk@matthiasm.com>2012-08-16 21:48:25 +0000
commit4a198a941c8d8d91b3cc237af0e095239bf12e10 (patch)
tree82c8711b88a9e184dbf7d0512069fd1039b6b295
parentd751db12ffbce8f739a2bc838bc83c6108ae3ab9 (diff)
STR 2858: include statements were wrong
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@9670 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
-rw-r--r--src/fl_utf8.cxx17
1 files changed, 10 insertions, 7 deletions
diff --git a/src/fl_utf8.cxx b/src/fl_utf8.cxx
index 8aead90c4..fe67f3954 100644
--- a/src/fl_utf8.cxx
+++ b/src/fl_utf8.cxx
@@ -21,22 +21,25 @@
#include <FL/filename.H>
#include <stdarg.h>
-#if defined(WIN32) && !defined(__CYGWIN__)
+#if defined(WIN32) || defined(__CYGWIN__)
# include <ctype.h>
# include <io.h>
# include <windows.h>
# include <winbase.h>
# include <process.h>
-#ifdef __CYGWIN__
-#include <wchar.h>
-#else
-#include <direct.h>
-#endif
+# ifdef __CYGWIN__
+# include <wchar.h>
+# include <sys/types.h>
+# include <sys/stat.h>
+# include <fcntl.h>
+# include <unistd.h>
+# else
+# include <direct.h>
+# endif
extern "C" {
int XUtf8Tolower(int ucs);
unsigned short XUtf8IsNonSpacing(unsigned int ucs);
};
-
#elif defined(__APPLE__)
# include <stdio.h>
# include <time.h>