From 010ecd2dfc078e5a475bc5ab152e7cfc10cef804 Mon Sep 17 00:00:00 2001 From: Eric Blake Date: Wed, 6 Jan 2010 14:08:15 -0700 Subject: [PATCH] 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 --- ChangeLog | 6 ++++++ lib/dirent.in.h | 3 +++ 2 files changed, 9 insertions(+) diff --git a/ChangeLog b/ChangeLog index 88ac6af7d..7b9dc990f 100644 --- 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 index 41f54d1ba..b87f5dc01 100644 --- 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. */ -- 2.11.0