* development/cmake/config.h.cmake:
there is no mode_t
* src/support/copy.C
chmod is declared in io.h
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@15913
a592a061-630c-0410-9148-
cb99ea01b6c8
#ifdef _MSC_VER
#pragma warning( disable : 4800 ) //: forcing value to bool 'true' or 'false' (performance warning)
+#ifdef HAVE_CHMOD
+typedef int mode_t;
+#endif
#endif
#ifdef LYX_ENABLE_PCH
# include <sys/types.h>
#endif
+#if defined(HAVE_CHMOD) && defined(_MSC_VER)
+#include <io.h>
+#endif
namespace lyx {