opendir: avoid compile warning
authorEric Blake <eblake@redhat.com>
Wed, 14 Sep 2011 14:19:35 +0000 (08:19 -0600)
committerEric Blake <eblake@redhat.com>
Wed, 14 Sep 2011 14:19:35 +0000 (08:19 -0600)
commit6c9a77897ffc9323910cfdb25bf32dae44adbb53
treed771b82375a0d93867c5664253331c07a4e5e6d0
parente2c54cb6998369800c2a18df71bb4d0253e472ec
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>
ChangeLog
lib/opendir.c