Mercurial > hg > octave-lojdl > gnulib-hg
changeset 5396:d557bf17c020
Make sure size_t is defined.
author | Bruno Haible <bruno@clisp.org> |
---|---|
date | Fri, 05 Nov 2004 21:57:55 +0000 |
parents | 6714fa39ec5d |
children | 80c94a39669e |
files | lib/ChangeLog lib/readlink.c |
diffstat | 2 files changed, 7 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/lib/ChangeLog +++ b/lib/ChangeLog @@ -1,3 +1,8 @@ +2004-11-05 Bruno Haible <bruno@clisp.org> + + * readlink.c: Include stddef.h, needed for size_t on Woe32. + Reported by Mark D. Baushke <mdb@cvshome.org>. + 2004-11-04 Bruno Haible <bruno@clisp.org> 2004-09-11 Bruno Haible <bruno@clisp.org>
--- a/lib/readlink.c +++ b/lib/readlink.c @@ -1,5 +1,5 @@ /* Stub for readlink(). - Copyright (C) 2003 Free Software Foundation, Inc. + Copyright (C) 2003-2004 Free Software Foundation, Inc. This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by @@ -22,6 +22,7 @@ #include <errno.h> #include <sys/types.h> #include <sys/stat.h> +#include <stddef.h> #if !HAVE_READLINK