diff options
Diffstat (limited to 'common/compat.h')
-rw-r--r-- | common/compat.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/common/compat.h b/common/compat.h index 8eda20f..e19d1b1 100644 --- a/common/compat.h +++ b/common/compat.h @@ -73,6 +73,10 @@ int strtob(const char* str); void atexitv(void (*func)(void*), void* data); #endif +#ifndef HAVE_XREALLOC +void* xrealloc(void *p, size_t size); +#endif + #ifndef HAVE_XCALLOC void* xcalloc(size_t size); #endif |