Disabled code based on autoconf tests
diff --git a/strlcpy.h b/strlcpy.h
index 824df30..9afbd39 100644
--- a/strlcpy.h
+++ b/strlcpy.h
@@ -1,4 +1,9 @@
 #ifndef _STRLCPY_H
 #define _STRLCPY_H
+
+#include "config.h"
+#ifndef HAVE_STRLCPY
 size_t strlcpy(char *dst, const char *src, size_t siz);
+#endif /* !HAVE_STRLCPY */
+
 #endif /* _STRLCPY_H */