summaryrefslogtreecommitdiffstats
path: root/crypto/openssh/openbsd-compat/strlcpy.h
diff options
context:
space:
mode:
Diffstat (limited to 'crypto/openssh/openbsd-compat/strlcpy.h')
-rw-r--r--crypto/openssh/openbsd-compat/strlcpy.h12
1 files changed, 12 insertions, 0 deletions
diff --git a/crypto/openssh/openbsd-compat/strlcpy.h b/crypto/openssh/openbsd-compat/strlcpy.h
new file mode 100644
index 0000000..3b13767
--- /dev/null
+++ b/crypto/openssh/openbsd-compat/strlcpy.h
@@ -0,0 +1,12 @@
+/* $Id: strlcpy.h,v 1.2 2001/02/09 01:55:36 djm Exp $ */
+
+#ifndef _BSD_STRLCPY_H
+#define _BSD_STRLCPY_H
+
+#include "config.h"
+#ifndef HAVE_STRLCPY
+#include <sys/types.h>
+size_t strlcpy(char *dst, const char *src, size_t siz);
+#endif /* !HAVE_STRLCPY */
+
+#endif /* _BSD_STRLCPY_H */
OpenPOWER on IntegriCloud