diff options
author | Paul Smith <psmith@gnu.org> | 2010-07-19 07:10:53 +0000 |
---|---|---|
committer | Paul Smith <psmith@gnu.org> | 2010-07-19 07:10:53 +0000 |
commit | 9b6d1b0508c3d0e664281883a8ac8e79bb440a8f (patch) | |
tree | 4cf2063962595ca40234d4832a00f7eeb7ebb321 /w32/compat | |
parent | 6128543aa71dafd62a34b91955d71af450d3a506 (diff) | |
download | make-9b6d1b0508c3d0e664281883a8ac8e79bb440a8f.tar.gz |
- Many fixup patches from Savannah.
- Fix the test suite on Solaris (from Boris)
- Update the manual for .ONESHELL
Diffstat (limited to 'w32/compat')
-rw-r--r-- | w32/compat/dirent.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/w32/compat/dirent.c b/w32/compat/dirent.c index ea1259c4..8d66e470 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 <http://www.gnu.org/licenses/>. */ +#include <config.h> #include <sys/types.h> #include <sys/stat.h> #include <errno.h> @@ -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; |