Remove conditional include of alloca.h, we don't define HAVE_ALLOCA_H.

The configure check for alloca() was removed long ago but this got
missed.
This commit is contained in:
Todd C. Miller
2021-09-03 16:03:48 -06:00
parent aac09cf7be
commit bf60451845
3 changed files with 281 additions and 287 deletions

File diff suppressed because it is too large Load Diff

View File

@@ -171,7 +171,7 @@ extern int sudoersdebug;
#if ! defined YYSTYPE && ! defined YYSTYPE_IS_DECLARED #if ! defined YYSTYPE && ! defined YYSTYPE_IS_DECLARED
union YYSTYPE union YYSTYPE
{ {
#line 88 "gram.y" #line 85 "gram.y"
struct cmndspec *cmndspec; struct cmndspec *cmndspec;
struct defaults *defaults; struct defaults *defaults;

View File

@@ -29,9 +29,6 @@
#include <stddef.h> #include <stddef.h>
#include <string.h> #include <string.h>
#include <unistd.h> #include <unistd.h>
#if defined(YYBISON) && defined(HAVE_ALLOCA_H) && !defined(__GNUC__)
# include <alloca.h>
#endif /* YYBISON && HAVE_ALLOCA_H && !__GNUC__ */
#include <errno.h> #include <errno.h>
#include "sudoers.h" #include "sudoers.h"