aboutsummaryrefslogtreecommitdiffstats
path: root/compat.h
diff options
context:
space:
mode:
authorHiltjo Posthuma <[email protected]>2015-12-26 13:01:41 +0100
committerHiltjo Posthuma <[email protected]>2015-12-26 13:01:41 +0100
commit597e3cdbed69b362423a75cc7e85e78ec95ae47e (patch)
tree31faffdee6e953a7d6dbf967cce7e68e55c3286d /compat.h
parente4e03b3bf91db3a6fe8acdcf97603240e9bf7896 (diff)
downloadstagit-597e3cdbed69b362423a75cc7e85e78ec95ae47e.tar.gz
stagit-597e3cdbed69b362423a75cc7e85e78ec95ae47e.zip
add compat.h
Diffstat (limited to 'compat.h')
-rw-r--r--compat.h6
1 files changed, 6 insertions, 0 deletions
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