From fba20a776da6d4a36db21d9b21e9e937bef00ac3 Mon Sep 17 00:00:00 2001 From: Paul Smith Date: Mon, 19 Jul 2010 07:10:53 +0000 Subject: - Many fixup patches from Savannah. - Fix the test suite on Solaris (from Boris) - Update the manual for .ONESHELL --- w32/compat/dirent.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'w32/compat') diff --git a/w32/compat/dirent.c b/w32/compat/dirent.c index ea1259c..8d66e47 100644 --- a/w32/compat/dirent.c +++ b/w32/compat/dirent.c @@ -16,6 +16,7 @@ You should have received a copy of the GNU General Public License along with this program. If not, see . */ +#include #include #include #include @@ -132,7 +133,7 @@ readdir(DIR* pDir) pDir->dir_nNumFiles++; /* fill in struct dirent values */ - pDir->dir_sdReturn.d_ino = -1; + pDir->dir_sdReturn.d_ino = (ino_t)-1; strcpy(pDir->dir_sdReturn.d_name, wfdFindData.cFileName); return &pDir->dir_sdReturn; -- cgit v1.2.3