aboutsummaryrefslogtreecommitdiffstats
path: root/testing/ctorrent-dnh/unistd.patch
diff options
context:
space:
mode:
Diffstat (limited to 'testing/ctorrent-dnh/unistd.patch')
-rw-r--r--testing/ctorrent-dnh/unistd.patch10
1 files changed, 10 insertions, 0 deletions
diff --git a/testing/ctorrent-dnh/unistd.patch b/testing/ctorrent-dnh/unistd.patch
new file mode 100644
index 0000000000..f7d8a925e0
--- /dev/null
+++ b/testing/ctorrent-dnh/unistd.patch
@@ -0,0 +1,10 @@
+--- a/compat.h
++++ b/compat.h
+@@ -57,6 +57,7 @@
+ void srandom(unsigned long seed);
+ #endif
+
++#include <unistd.h>
+
+ #ifdef __cplusplus
+ }