aboutsummaryrefslogtreecommitdiff
path: root/dep/g3dlite/source/BinaryOutput.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'dep/g3dlite/source/BinaryOutput.cpp')
-rw-r--r--dep/g3dlite/source/BinaryOutput.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/dep/g3dlite/source/BinaryOutput.cpp b/dep/g3dlite/source/BinaryOutput.cpp
index 054211d906c..81fa9822206 100644
--- a/dep/g3dlite/source/BinaryOutput.cpp
+++ b/dep/g3dlite/source/BinaryOutput.cpp
@@ -22,6 +22,10 @@
# include <errno.h>
#endif
+#ifdef __CYGWIN__
+# include <errno.h>
+#endif
+
// Largest memory buffer that the system will use for writing to
// disk. After this (or if the system runs out of memory)
// chunks of the file will be dumped to disk.