summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'app-text/dos2unix/files/dos2unix-3.1-includes.patch')
-rw-r--r--app-text/dos2unix/files/dos2unix-3.1-includes.patch11
1 files changed, 11 insertions, 0 deletions
diff --git a/app-text/dos2unix/files/dos2unix-3.1-includes.patch b/app-text/dos2unix/files/dos2unix-3.1-includes.patch
new file mode 100644
index 000000000000..a71c205973e7
--- /dev/null
+++ b/app-text/dos2unix/files/dos2unix-3.1-includes.patch
@@ -0,0 +1,11 @@
+--- dos2unix-3.1/dos2unix.c
++++ dos2unix-3.1/dos2unix.c
+@@ -71,6 +71,8 @@
+ #endif __MSDOS__
+ #include <stdio.h>
+ #include <stdlib.h>
++#include <unistd.h>
++#include <fcntl.h>
+ #include <string.h>
+ #include <utime.h>
+ #include <sys/stat.h>