summaryrefslogtreecommitdiff
path: root/accel-pppd/memdebug.h
diff options
context:
space:
mode:
Diffstat (limited to 'accel-pppd/memdebug.h')
-rw-r--r--accel-pppd/memdebug.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/accel-pppd/memdebug.h b/accel-pppd/memdebug.h
index 09978f43..501b882d 100644
--- a/accel-pppd/memdebug.h
+++ b/accel-pppd/memdebug.h
@@ -21,6 +21,11 @@ int md_asprintf(const char *fname, int line, char **strp, const char *fmt, ...)
void md_check(void *ptr);
#else
+
+#include <stdio.h>
+#include <stdlib.h>
+#include <string.h>
+
#define _malloc(size) malloc(size)
#define _realloc(ptr, size) realloc(ptr, size)
#define _free(ptr) free(ptr)