aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorManuel Novoa III <mjn3@codepoet.org>2004-02-05 14:45:58 +0000
committerManuel Novoa III <mjn3@codepoet.org>2004-02-05 14:45:58 +0000
commit68474f3b36902ecd903a2d26c06a3d18f3f4bdc5 (patch)
treeae4e94710f05a54b976e25b850884a6a207b8b35
parentd07cf59a98c0aa43cc546b667fb413ca4daab0c0 (diff)
downloadbusybox-68474f3b36902ecd903a2d26c06a3d18f3f4bdc5.tar.gz
Make sure stdlib.h is always included before dmalloc.h to avoid problems
parsing problems.
-rw-r--r--include/busybox.h1
-rw-r--r--include/libbb.h1
2 files changed, 2 insertions, 0 deletions
diff --git a/include/busybox.h b/include/busybox.h
index 28ea2530f..ba4edcaba 100644
--- a/include/busybox.h
+++ b/include/busybox.h
@@ -27,6 +27,7 @@
#include "config.h"
#include <stdio.h>
+#include <stdlib.h>
#include <stdarg.h>
#include <sys/stat.h>
#include <sys/types.h>
diff --git a/include/libbb.h b/include/libbb.h
index 86e4fbea7..15e3e49cf 100644
--- a/include/libbb.h
+++ b/include/libbb.h
@@ -25,6 +25,7 @@
#define __LIBCONFIG_H__ 1
#include <stdio.h>
+#include <stdlib.h>
#include <stdarg.h>
#include <sys/stat.h>
#include <sys/types.h>