File fix-missing-header.patch of Package moses

diff -rU3 moses-20120409.orig/util/file.cc moses-20120409/util/file.cc
--- moses-20120409.orig/util/file.cc	2012-04-09 12:53:21.000000001 +0100
+++ moses-20120409/util/file.cc	2018-01-02 09:44:47.000000001 +0000
@@ -10,6 +10,7 @@
 #include <sys/stat.h>
 #include <fcntl.h>
 #include <stdint.h>
+#include <unistd.h>
 
 #if defined(_WIN32) || defined(_WIN64)
 #include <windows.h>
diff -rU3 moses-20120409.orig/util/mmap.cc moses-20120409/util/mmap.cc
--- moses-20120409.orig/util/mmap.cc	2012-04-09 12:53:21.000000001 +0100
+++ moses-20120409/util/mmap.cc	2018-01-02 09:49:22.000000001 +0000
@@ -14,6 +14,7 @@
 #include <sys/types.h>
 #include <sys/stat.h>
 #include <stdlib.h>
+#include <unistd.h>
 
 #if defined(_WIN32) || defined(_WIN64)
 #include <windows.h>
openSUSE Build Service is sponsored by