summaryrefslogtreecommitdiff
path: root/system/ksh/patches/linux/strlcpy_h.diff
diff options
context:
space:
mode:
Diffstat (limited to 'system/ksh/patches/linux/strlcpy_h.diff')
-rw-r--r--system/ksh/patches/linux/strlcpy_h.diff7
1 files changed, 7 insertions, 0 deletions
diff --git a/system/ksh/patches/linux/strlcpy_h.diff b/system/ksh/patches/linux/strlcpy_h.diff
new file mode 100644
index 0000000000..d9f75cd41e
--- /dev/null
+++ b/system/ksh/patches/linux/strlcpy_h.diff
@@ -0,0 +1,7 @@
+--- ksh-openbsd_cvs/strlcpy.h 1970-01-01 01:00:00.000000000 +0100
++++ ksh-openbsd_cvs.new/strlcpy.h 2010-04-01 21:01:24.145380963 +0200
+@@ -0,0 +1,4 @@
++#ifndef STRLCPY_H
++#define STRLCPY_H
++size_t strlcpy(char *, const char *, size_t);
++#endif /* STRLCPY_H */