diff options
author | Ian Lynagh <igloo@earth.li> | 2009-06-15 21:48:50 +0000 |
---|---|---|
committer | Ian Lynagh <igloo@earth.li> | 2009-06-15 21:48:50 +0000 |
commit | 5abf6bce2c509f6c1cd108ebd19429f0950db5aa (patch) | |
tree | e7e7d99ef1e7903d6ef9f3a5274c71c7f7886afb /libraries/base/aclocal.m4 | |
parent | d273fbccdda227c3c8825ce9e2f9a863393de4cc (diff) | |
download | haskell-5abf6bce2c509f6c1cd108ebd19429f0950db5aa.tar.gz |
Fix warnings in configure script
Diffstat (limited to 'libraries/base/aclocal.m4')
-rw-r--r-- | libraries/base/aclocal.m4 | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/libraries/base/aclocal.m4 b/libraries/base/aclocal.m4 index 211ba92b8b..615cbe1456 100644 --- a/libraries/base/aclocal.m4 +++ b/libraries/base/aclocal.m4 @@ -145,7 +145,7 @@ int main(void) { if (((testing)((int)((testing)1.4))) == ((testing)1.4)) { fprintf(f, "%s%d\n", ((testing)(-1) < (testing)0) ? "Int" : "Word", - sizeof(testing)*8); + (int)(sizeof(testing)*8)); } else { fprintf(f,"%s\n", (sizeof(testing) > sizeof(double)) ? "LDouble" : @@ -179,6 +179,8 @@ AC_DEFUN([FP_READDIR_EOF_ERRNO], [AC_RUN_IFELSE([AC_LANG_SOURCE([[#include <dirent.h> #include <stdio.h> #include <errno.h> +#include <sys/stat.h> + int main(argc, argv) int argc; |