diff options
Diffstat (limited to 'src')
| -rw-r--r-- | src/include/debug.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/include/debug.h b/src/include/debug.h index 5ff9e194..fa387d42 100644 --- a/src/include/debug.h +++ b/src/include/debug.h @@ -119,6 +119,8 @@ void init_malloc_hook(void); #define box_calloc calloc #define box_free free #define box_memalign memalign +#define box_strdup strdup +#define box_realpath realpath #else extern size_t(*box_malloc_usable_size)(void*); extern void* __libc_malloc(size_t); @@ -131,8 +133,8 @@ extern void* __libc_memalign(size_t, size_t); #define box_calloc __libc_calloc #define box_free __libc_free #define box_memalign __libc_memalign -#endif extern char* box_strdup(const char* s); extern char* box_realpath(const char* path, char* ret); +#endif #endif //__DEBUG_H_ |