Mercurial > hg > octave-nkf > gnulib-hg
changeset 15616:9fd376c9460f
opendir: avoid compile warning
If HAVE_OPENDIR but also REPLACE_FCHDIR, then errno was used without
including the proper header.
* lib/opendir.c (includes): Always include errno.h.
Reported by Tatsuro MATSUOKA.
Signed-off-by: Eric Blake <eblake@redhat.com>
author | Eric Blake <eblake@redhat.com> |
---|---|
date | Wed, 14 Sep 2011 08:19:35 -0600 |
parents | 79e8ec9a79db |
children | a87db2cf4571 |
files | ChangeLog lib/opendir.c |
diffstat | 2 files changed, 8 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +2011-09-14 Eric Blake <eblake@redhat.com> + + opendir: avoid compile warning + * lib/opendir.c (includes): Always include errno.h. + Reported by Tatsuro MATSUOKA. + 2011-09-14 Jim Meyering <meyering@redhat.com> maint.mk: sc_tight_scope: propagate failure from sub-make