X-Git-Url: http://git.megacz.com/?a=blobdiff_plain;f=aclocal.m4;fp=aclocal.m4;h=211ba92b8b699e82580a2cb0a7c7f0e032274ed4;hb=a6e063fec0e1df9153380210810bfcc04cfcd823;hp=49ad919af37e26aa7deca06e9b160f55aa7c3690;hpb=ccc931d0905f6e0d55cb90b045881d4515112411;p=ghc-base.git diff --git a/aclocal.m4 b/aclocal.m4 index 49ad919..211ba92 100644 --- a/aclocal.m4 +++ b/aclocal.m4 @@ -135,9 +135,11 @@ AC_RUN_IFELSE([AC_LANG_SOURCE([[#include # include #endif +#include + typedef $1 testing; -main() { +int main(void) { FILE *f=fopen("conftestval", "w"); if (!f) exit(1); if (((testing)((int)((testing)1.4))) == ((testing)1.4)) {