From: Akim Demaille Date: Sun, 17 Jun 2012 09:19:51 +0000 (+0200) Subject: tests: portability issues. X-Git-Tag: v2.6~71 X-Git-Url: https://git.saurik.com/bison.git/commitdiff_plain/363bf73276e2d60ddbe76ededc24d6d9b467bac8 tests: portability issues. * tests/calc.at (AT_CALC_MAIN): Missing include reported by Hydra. --- diff --git a/tests/calc.at b/tests/calc.at index e54a3670..77f70cd3 100644 --- a/tests/calc.at +++ b/tests/calc.at @@ -45,7 +45,8 @@ m4_define([_AT_DATA_CALC_Y], [m4_fatal([$0: Invalid arguments: $@])])dnl m4_pushdef([AT_CALC_MAIN], -[#if HAVE_UNISTD_H +[#include /* abort */ +#if HAVE_UNISTD_H # include #else # undef alarm @@ -280,7 +281,6 @@ extern int global_count;]AT_SKEL_CC_IF([[ %code { #include -#include #include #define USE(Var)