aboutsummaryrefslogtreecommitdiff
path: root/internal.h
diff options
context:
space:
mode:
Diffstat (limited to 'internal.h')
-rw-r--r--internal.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/internal.h b/internal.h
index 5cf72d6d3..52419e34e 100644
--- a/internal.h
+++ b/internal.h
@@ -26,6 +26,10 @@
26 26
27#include "busybox.def.h" 27#include "busybox.def.h"
28 28
29#ifdef DMALLOC
30#include "dmalloc.h"
31#endif
32
29#include <stdlib.h> 33#include <stdlib.h>
30#include <stdarg.h> 34#include <stdarg.h>
31#include <string.h> 35#include <string.h>
@@ -360,8 +364,11 @@ extern char process_escape_sequence(char **ptr);
360extern char *get_last_path_component(char *path); 364extern char *get_last_path_component(char *path);
361extern void xregcomp(regex_t *preg, const char *regex, int cflags); 365extern void xregcomp(regex_t *preg, const char *regex, int cflags);
362 366
367#ifndef DMALLOC
363extern void *xmalloc (size_t size); 368extern void *xmalloc (size_t size);
369extern void *xrealloc(void *old, size_t size)
364extern char *xstrdup (const char *s); 370extern char *xstrdup (const char *s);
371#endif
365extern char *xstrndup (const char *s, int n); 372extern char *xstrndup (const char *s, int n);
366 373
367 374