]> git.lyx.org Git - features.git/commitdiff
Include io.h only on Windows
authorJoost Verburg <joostverburg@users.sourceforge.net>
Tue, 29 Jun 2010 13:23:33 +0000 (13:23 +0000)
committerJoost Verburg <joostverburg@users.sourceforge.net>
Tue, 29 Jun 2010 13:23:33 +0000 (13:23 +0000)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@34723 a592a061-630c-0410-9148-cb99ea01b6c8

src/support/filetools.cpp

index 94a9f78c953a6bcf1550ea81ff5e64167df3e25b..db65c6a710fb0b4f1903156c359faa72a32825c7 100644 (file)
@@ -39,7 +39,6 @@
 #include <boost/regex.hpp>
 
 #include <fcntl.h>
-#include <io.h>
 
 #include <cerrno>
 #include <cstdlib>
@@ -50,6 +49,7 @@
 #include <sstream>
 
 #if defined (_WIN32)
+#include <io.h>
 #include <windows.h>
 #endif