From 597e3cdbed69b362423a75cc7e85e78ec95ae47e Mon Sep 17 00:00:00 2001 From: Hiltjo Posthuma Date: Sat, 26 Dec 2015 13:01:41 +0100 Subject: [PATCH] add compat.h --- compat.h | 6 ++++++ 1 file changed, 6 insertions(+) create mode 100644 compat.h diff --git a/compat.h b/compat.h new file mode 100644 index 0000000..0947de6 --- /dev/null +++ b/compat.h @@ -0,0 +1,6 @@ +#ifdef COMPAT +#undef strlcat +size_t strlcat(char *, const char *, size_t); +#undef strlcpy +size_t strlcpy(char *, const char *, size_t); +#endif -- libgit2 1.1.1