summaryrefslogtreecommitdiff
path: root/common/compat.h
diff options
context:
space:
mode:
Diffstat (limited to 'common/compat.h')
-rw-r--r--common/compat.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/common/compat.h b/common/compat.h
index 7ef2f50..12ffad6 100644
--- a/common/compat.h
+++ b/common/compat.h
@@ -73,4 +73,8 @@ int strtob(const char* str);
void atexitv(void (*func)(void*), void* data);
#endif
+#ifndef HAVE_XCALLOC
+void* xcalloc(size_t size);
+#endif
+
#endif /* __COMPAT_H__ */