Include io.h only on Windows

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@34723 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
Joost Verburg 2010-06-29 13:23:33 +00:00
parent e6254e6fb2
commit 23df7e16a9

View File

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