From a6e063fec0e1df9153380210810bfcc04cfcd823 Mon Sep 17 00:00:00 2001 From: Ian Lynagh Date: Mon, 15 Jun 2009 20:16:34 +0000 Subject: [PATCH] Fix warnings in C programs generated by configure; fixes failures with -Werror --- aclocal.m4 | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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)) { -- 1.7.10.4