summaryrefslogtreecommitdiff
path: root/include/compat.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/compat.h')
-rw-r--r--include/compat.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/include/compat.h b/include/compat.h
index 65872ec..4810acb 100644
--- a/include/compat.h
+++ b/include/compat.h
@@ -245,4 +245,8 @@ int stfs_tools_fprintf(FILE *strm, const char *fmt, ...) PRINTF_ATTRIB(2, 3);
#define putc stfs_tools_fputc
#endif
+#ifndef HAVE_STRCHRNUL
+char *strchrnul(const char *s, int c);
+#endif
+
#endif /* COMPAT_H */