summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDenys Vlasenko <vda.linux@googlemail.com>2011-09-15 08:37:04 (GMT)
committer Denys Vlasenko <vda.linux@googlemail.com>2011-09-15 08:37:04 (GMT)
commitdd1eb413f28a2a8b5768056e1967e87b2363dc32 (patch)
tree8ab3fd91e43c301548fd3e1e678f44a7d3ac1292
parent378ab6819907fa9e439e93ed081c73c2351b4330 (diff)
downloadbusybox-dd1eb413f28a2a8b5768056e1967e87b2363dc32.tar.gz
busybox-dd1eb413f28a2a8b5768056e1967e87b2363dc32.tar.bz2
suppress "warning: implicit declaration of function 'alloca'"
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
-rw-r--r--scripts/basic/docproc.c1
-rw-r--r--scripts/basic/fixdep.c1
2 files changed, 2 insertions, 0 deletions
diff --git a/scripts/basic/docproc.c b/scripts/basic/docproc.c
index 0984e7d..b125698 100644
--- a/scripts/basic/docproc.c
+++ b/scripts/basic/docproc.c
@@ -39,6 +39,7 @@
#include <limits.h>
#include <sys/types.h>
#include <sys/wait.h>
+#include <alloca.h>
/* exitstatus is used to keep track of any failing calls to kernel-doc,
* but execution continues. */
diff --git a/scripts/basic/fixdep.c b/scripts/basic/fixdep.c
index f27a179..165a8c3 100644
--- a/scripts/basic/fixdep.c
+++ b/scripts/basic/fixdep.c
@@ -113,6 +113,7 @@
#include <limits.h>
#include <ctype.h>
#include <arpa/inet.h>
+#include <alloca.h>
/* bbox: not needed
#define INT_CONF ntohl(0x434f4e46)