aboutsummaryrefslogtreecommitdiffstats
path: root/textproc/qstardict/files/patch-plugins_stardict_mapfile.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'textproc/qstardict/files/patch-plugins_stardict_mapfile.hpp')
-rw-r--r--textproc/qstardict/files/patch-plugins_stardict_mapfile.hpp10
1 files changed, 10 insertions, 0 deletions
diff --git a/textproc/qstardict/files/patch-plugins_stardict_mapfile.hpp b/textproc/qstardict/files/patch-plugins_stardict_mapfile.hpp
new file mode 100644
index 00000000000..f38ebf94e09
--- /dev/null
+++ b/textproc/qstardict/files/patch-plugins_stardict_mapfile.hpp
@@ -0,0 +1,10 @@
+--- plugins/stardict/mapfile.hpp.orig 2011-12-05 12:40:49 UTC
++++ plugins/stardict/mapfile.hpp
+@@ -9,6 +9,7 @@
+ # include <sys/types.h>
+ # include <fcntl.h>
+ # include <sys/mman.h>
++# include <unistd.h>
+ #endif
+ #ifdef _WIN32
+ # include <windows.h>