From: John Darrington Date: Sun, 20 Apr 2008 07:51:09 +0000 (+0000) Subject: Fixed some recent problems with the mingw cross compile. X-Git-Tag: v0.6.0~32 X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=bf6be2aa2a406ee96e4b402734e191b3dbbf956e;p=pspp-builds.git Fixed some recent problems with the mingw cross compile. --- diff --git a/src/data/data-in.c b/src/data/data-in.c index 28d6da2a..a6544afb 100644 --- a/src/data/data-in.c +++ b/src/data/data-in.c @@ -27,6 +27,7 @@ #include #include #include +#include #include "calendar.h" #include "identifier.h" diff --git a/src/data/file-name.c b/src/data/file-name.c index c6f91b56..86c8e17e 100644 --- a/src/data/file-name.c +++ b/src/data/file-name.c @@ -411,7 +411,7 @@ fn_get_identity (const char *file_name) identity->device = 0; identity->inode = 0; identity->name = xstrdup (ok ? cname : file_name); - str_lowercase (identity->file_name); + str_lowercase (identity->name); #endif /* Windows */ return identity; diff --git a/src/data/value.h b/src/data/value.h index cb66cb08..612ec114 100644 --- a/src/data/value.h +++ b/src/data/value.h @@ -19,6 +19,7 @@ #include #include +#include #include "minmax.h" /* "Short" strings, which are generally those no more than 8 diff --git a/src/language/tests/check-model.q b/src/language/tests/check-model.q index c72a30b2..a2654717 100644 --- a/src/language/tests/check-model.q +++ b/src/language/tests/check-model.q @@ -15,6 +15,7 @@ along with this program. If not, see . */ #include +#include #include