better fix for implicit declaration
[debian/pax] / pax.h
diff --git a/pax.h b/pax.h
index 26477976e4feb62ee7e8ea0e1f98d504fc32e091..c117f79708dd48e86275f367b65af2c7922138a7 100644 (file)
--- a/pax.h
+++ b/pax.h
@@ -242,3 +242,6 @@ typedef struct oplist {
 #define OCT            8
 #define _PAX_          1
 #define _TFILE_BASE    "paxXXXXXXXXXX"
+
+/* hack since we're pulling strlcpy in from OpenBSD library to this dir */
+extern size_t strlcpy(char *, const char *, size_t);