summaryrefslogtreecommitdiff
path: root/openbsd-compat/strlcpy.h
diff options
context:
space:
mode:
Diffstat (limited to 'openbsd-compat/strlcpy.h')
-rw-r--r--openbsd-compat/strlcpy.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/openbsd-compat/strlcpy.h b/openbsd-compat/strlcpy.h
new file mode 100644
index 000000000..dafa44af8
--- /dev/null
+++ b/openbsd-compat/strlcpy.h
@@ -0,0 +1,10 @@
1#ifndef _BSD_STRLCPY_H
2#define _BSD_STRLCPY_H
3
4#include "config.h"
5#ifndef HAVE_STRLCPY
6#include <sys/types.h>
7size_t strlcpy(char *dst, const char *src, size_t siz);
8#endif /* !HAVE_STRLCPY */
9
10#endif /* _BSD_STRLCPY_H */