summaryrefslogtreecommitdiff
path: root/libraries/base/aclocal.m4
diff options
context:
space:
mode:
Diffstat (limited to 'libraries/base/aclocal.m4')
-rw-r--r--libraries/base/aclocal.m44
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;