]> git.lyx.org Git - lyx.git/blobdiff - src/support/filetools.cpp
Get rid of regex_constants::match_partial
[lyx.git] / src / support / filetools.cpp
index f145122ee8b2fd1d0c3413ccf00fa05646a06a03..040272aade620e406bed47dcca8947126c0c763d 100644 (file)
@@ -46,6 +46,9 @@
 #ifdef HAVE_MAGIC_H
 #include <magic.h>
 #endif
+#ifdef HAVE_UNISTD_H
+#include <unistd.h>
+#endif
 
 #include <cerrno>
 #include <cstdlib>