aboutsummaryrefslogtreecommitdiffstats
path: root/compat/strlcpy.h
diff options
context:
space:
mode:
Diffstat (limited to 'compat/strlcpy.h')
-rw-r--r--compat/strlcpy.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/compat/strlcpy.h b/compat/strlcpy.h
new file mode 100644
index 000000000..74d772d31
--- /dev/null
+++ b/compat/strlcpy.h
@@ -0,0 +1,8 @@
+#ifndef STRLCPY_H
+#define STRLCPY_H
+
+#include <sys/types.h>
+
+size_t strlcpy(char *, const char*, size_t);
+
+#endif