summaryrefslogtreecommitdiff
path: root/bsd-strlcat.h
diff options
context:
space:
mode:
Diffstat (limited to 'bsd-strlcat.h')
-rw-r--r--bsd-strlcat.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/bsd-strlcat.h b/bsd-strlcat.h
new file mode 100644
index 00000000..562dc704
--- /dev/null
+++ b/bsd-strlcat.h
@@ -0,0 +1,10 @@
+#ifndef _BSD_STRLCAT_H
+#define _BSD_STRLCAT_H
+
+#include "config.h"
+#ifndef HAVE_STRLCAT
+#include <sys/types.h>
+size_t strlcat(char *dst, const char *src, size_t siz);
+#endif /* !HAVE_STRLCAT */
+
+#endif /* _BSD_STRLCAT_H */