summaryrefslogtreecommitdiff
path: root/sys-process/incron/files/incron-0.5.10+gcc-4.7.patch
diff options
context:
space:
mode:
Diffstat (limited to 'sys-process/incron/files/incron-0.5.10+gcc-4.7.patch')
-rw-r--r--sys-process/incron/files/incron-0.5.10+gcc-4.7.patch12
1 files changed, 12 insertions, 0 deletions
diff --git a/sys-process/incron/files/incron-0.5.10+gcc-4.7.patch b/sys-process/incron/files/incron-0.5.10+gcc-4.7.patch
new file mode 100644
index 00000000000..a1b690510f3
--- /dev/null
+++ b/sys-process/incron/files/incron-0.5.10+gcc-4.7.patch
@@ -0,0 +1,12 @@
+Index: incron-0.5.10/icd-main.cpp
+===================================================================
+--- incron-0.5.10.orig/icd-main.cpp
++++ incron-0.5.10/icd-main.cpp
+@@ -24,6 +24,7 @@
+ #include <dirent.h>
+ #include <syslog.h>
+ #include <errno.h>
++#include <unistd.h>
+ #include <sys/poll.h>
+ #include <sys/stat.h>
+ #include <cstdio>