diff --git a/lib/getdate.y b/lib/getdate.y index 291b62990..68d0ce60b 100644 --- a/lib/getdate.y +++ b/lib/getdate.y @@ -26,6 +26,11 @@ #define YYDEBUG 0 #endif +#ifndef YYSTACK_USE_ALLOCA + /* to satisfy gcc -Wundef, we set this to 0 */ +#define YYSTACK_USE_ALLOCA 0 +#endif + /* Since the code of getdate.y is not included in the Emacs executable itself, there is no need to #define static in this file. Even if the code were included in the Emacs executable, it probably