summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'dev-util/dirdiff/files/dirdiff-2.1-include.patch')
-rw-r--r--dev-util/dirdiff/files/dirdiff-2.1-include.patch10
1 files changed, 10 insertions, 0 deletions
diff --git a/dev-util/dirdiff/files/dirdiff-2.1-include.patch b/dev-util/dirdiff/files/dirdiff-2.1-include.patch
new file mode 100644
index 000000000000..acaed3cf8026
--- /dev/null
+++ b/dev-util/dirdiff/files/dirdiff-2.1-include.patch
@@ -0,0 +1,10 @@
+--- a/filecmp.c 2005-04-19 12:22:01.000000000 +0200
++++ b/filecmp.c 2010-12-30 20:23:24.000000000 +0100
+@@ -11,6 +11,7 @@
+ #include <ctype.h>
+ #include <tcl.h>
+ #include <sys/fcntl.h>
++#include <unistd.h> /* close() read() */
+
+ #define BSIZE 32768
+ #define MAXTAGLEN 512 /* max tag length for sanity, < BSIZE */