diff options
author | Denys Vlasenko <vda.linux@googlemail.com> | 2011-09-15 12:37:04 +0400 |
---|---|---|
committer | Denys Vlasenko <vda.linux@googlemail.com> | 2011-09-15 12:37:04 +0400 |
commit | dd1eb413f28a2a8b5768056e1967e87b2363dc32 (patch) | |
tree | 8ab3fd91e43c301548fd3e1e678f44a7d3ac1292 | |
parent | 378ab6819907fa9e439e93ed081c73c2351b4330 (diff) |
suppress "warning: implicit declaration of function 'alloca'"
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
-rw-r--r-- | scripts/basic/docproc.c | 1 | ||||
-rw-r--r-- | scripts/basic/fixdep.c | 1 |
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) |