From: jorton Date: Tue, 11 Jun 2002 13:19:28 +0000 (+0000) Subject: Conditionally include alloca.h. X-Git-Tag: r0-50-36~2 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=d5a8d3e886a8b27e4586c55688d7d62b2efec7fb;p=thirdparty%2Fnewt.git Conditionally include alloca.h. --- diff --git a/newt.c b/newt.c index 48426e4..9f6b39b 100644 --- a/newt.c +++ b/newt.c @@ -1,3 +1,5 @@ +#include "config.h" + #include #include #include @@ -8,6 +10,10 @@ #include #include +#ifdef HAVE_ALLOCA_H +#include +#endif + #include "newt.h" #include "newt_pr.h"