mirror of
https://git.savannah.gnu.org/git/bison.git
synced 2026-03-18 08:43:03 +00:00
tests: portability issues.
* tests/calc.at (AT_CALC_MAIN): Missing include reported by Hydra.
This commit is contained in:
@@ -45,7 +45,8 @@ m4_define([_AT_DATA_CALC_Y],
|
|||||||
[m4_fatal([$0: Invalid arguments: $@])])dnl
|
[m4_fatal([$0: Invalid arguments: $@])])dnl
|
||||||
|
|
||||||
m4_pushdef([AT_CALC_MAIN],
|
m4_pushdef([AT_CALC_MAIN],
|
||||||
[#if HAVE_UNISTD_H
|
[#include <stdlib.h> /* abort */
|
||||||
|
#if HAVE_UNISTD_H
|
||||||
# include <unistd.h>
|
# include <unistd.h>
|
||||||
#else
|
#else
|
||||||
# undef alarm
|
# undef alarm
|
||||||
@@ -280,7 +281,6 @@ extern int global_count;]AT_SKEL_CC_IF([[
|
|||||||
%code
|
%code
|
||||||
{
|
{
|
||||||
#include <assert.h>
|
#include <assert.h>
|
||||||
#include <stdlib.h>
|
|
||||||
#include <string.h>
|
#include <string.h>
|
||||||
#define USE(Var)
|
#define USE(Var)
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user