summaryrefslogtreecommitdiff
path: root/compiler.h
diff options
context:
space:
mode:
Diffstat (limited to 'compiler.h')
-rw-r--r--compiler.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/compiler.h b/compiler.h
index d96ebcb4..5805f5a9 100644
--- a/compiler.h
+++ b/compiler.h
@@ -100,6 +100,10 @@ int vsnprintf(char *, size_t, const char *, va_list);
# endif
#endif
+#if !defined(HAVE_STRLCPY) || !HAVE_DECL_STRLCPY
+size_t strlcpy(char *, const char *, size_t);
+#endif
+
#ifndef __cplusplus /* C++ has false, true, bool as keywords */
# if defined(HAVE_STDBOOL_H) && defined(HAVE_WORKING_BOOL)
# include <stdbool.h>