]> git.armaanb.net Git - stagit.git/commitdiff
add compat.h
authorHiltjo Posthuma <hiltjo@codemadness.org>
Sat, 26 Dec 2015 12:01:41 +0000 (13:01 +0100)
committerHiltjo Posthuma <hiltjo@codemadness.org>
Sat, 26 Dec 2015 12:01:41 +0000 (13:01 +0100)
compat.h [new file with mode: 0644]

diff --git a/compat.h b/compat.h
new file mode 100644 (file)
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