aboutsummaryrefslogtreecommitdiff
path: root/scripts/basic
diff options
context:
space:
mode:
authorDenys Vlasenko <vda.linux@googlemail.com>2011-09-15 10:37:04 +0200
committerDenys Vlasenko <vda.linux@googlemail.com>2011-09-15 10:37:04 +0200
commitdd1eb413f28a2a8b5768056e1967e87b2363dc32 (patch)
tree8ab3fd91e43c301548fd3e1e678f44a7d3ac1292 /scripts/basic
parent378ab6819907fa9e439e93ed081c73c2351b4330 (diff)
downloadbusybox-dd1eb413f28a2a8b5768056e1967e87b2363dc32.tar.gz
suppress "warning: implicit declaration of function 'alloca'"
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'scripts/basic')
-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 0984e7d4b..b12569832 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 f27a17984..165a8c39d 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)