summaryrefslogtreecommitdiff
path: root/compat.h
diff options
context:
space:
mode:
authorHiltjo Posthuma <hiltjo@codemadness.org>2015-08-22 16:26:51 +0200
committerHiltjo Posthuma <hiltjo@codemadness.org>2015-08-22 16:26:51 +0200
commit6bae9a94b97f808e888de1b4633ccb52e7c26c58 (patch)
tree9f11153a199643bad1c53509af93888a5944b044 /compat.h
parent6d02ae93a30afe8492b176907c5cf11d0e639420 (diff)
sfeed_opml_import: does not need util but may need compat.h for strlcpy, strlcat
Diffstat (limited to 'compat.h')
-rw-r--r--compat.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/compat.h b/compat.h
index b154085..0947de6 100644
--- a/compat.h
+++ b/compat.h
@@ -1,4 +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