X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=src%2Fsupport%2Ffiletools.cpp;h=040272aade620e406bed47dcca8947126c0c763d;hb=dae8555234f0e5c8358b91c307d91b219c664617;hp=f145122ee8b2fd1d0c3413ccf00fa05646a06a03;hpb=11b7b7234e42ad46add882df914037930c6dd438;p=lyx.git diff --git a/src/support/filetools.cpp b/src/support/filetools.cpp index f145122ee8..040272aade 100644 --- a/src/support/filetools.cpp +++ b/src/support/filetools.cpp @@ -46,6 +46,9 @@ #ifdef HAVE_MAGIC_H #include #endif +#ifdef HAVE_UNISTD_H +#include +#endif #include #include