Merge branch 'sync-fixes' into staging
[dcpomatic.git] / src / lib / cross.cc
index 94e0d922cf72d5b95bad3a9dba07e78008151869..2c66ab53a865725d63dbbd73d97e3ce1799ea19e 100644 (file)
@@ -18,6 +18,9 @@
 */
 
 #include "cross.h"
+#ifdef DVDOMATIC_POSIX
+#include <unistd.h>
+#endif
 #ifdef DVDOMATIC_WINDOWS
 #include "windows.h"
 #endif