# HG changeset patch # User Eric Blake # Date 1262812095 25200 # Node ID fa453b6caad747eeb69ac7f2ce23699367257b54 # Parent 371ac5f7884e874116fe481f50795c4569f95683 dirent: fix test failure POSIX 2008 XSI requires ino_t. But it is easier if gnulib guarantees it always, rather than just on XSI systems. * lib/dirent.in.h (includes): Guarantee ino_t. Reported by Ralf Wildenhues. Signed-off-by: Eric Blake diff --git a/ChangeLog b/ChangeLog --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +2010-01-06 Eric Blake + + dirent: fix test failure + * lib/dirent.in.h (includes): Guarantee ino_t. + Reported by Ralf Wildenhues. + 2010-01-06 Petr Salinger (tiny change) linkat, renameat: avoid bad free diff --git a/lib/dirent.in.h b/lib/dirent.in.h --- a/lib/dirent.in.h +++ b/lib/dirent.in.h @@ -26,6 +26,9 @@ #ifndef _GL_DIRENT_H #define _GL_DIRENT_H +/* Grab ino_t. */ +#include + /* The definition of GL_LINK_WARNING is copied here. */ /* The definition of _GL_ARG_NONNULL is copied here. */