summaryrefslogtreecommitdiff
path: root/www/gatling/files/patch-dl.c
diff options
context:
space:
mode:
Diffstat (limited to 'www/gatling/files/patch-dl.c')
-rw-r--r--www/gatling/files/patch-dl.c13
1 files changed, 13 insertions, 0 deletions
diff --git a/www/gatling/files/patch-dl.c b/www/gatling/files/patch-dl.c
new file mode 100644
index 000000000000..e2828dc78ef7
--- /dev/null
+++ b/www/gatling/files/patch-dl.c
@@ -0,0 +1,13 @@
+--- dl.c.orig 2009-04-10 17:51:59.000000000 +0200
++++ dl.c 2009-04-10 17:56:31.000000000 +0200
+@@ -37,6 +37,10 @@
+ #include <assert.h>
+ #include <ctype.h>
+ #include <string.h>
++#include "havestrndup.h"
++#ifndef LIBC_HAS_STRNDUP
++char* strndup(const char*, size_t);
++#endif
+
+ int dostats;
+