From: Eric Blake Date: Wed, 6 Jan 2010 21:08:15 +0000 (-0700) Subject: dirent: fix test failure X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=010ecd2dfc078e5a475bc5ab152e7cfc10cef804;p=pspp 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 index 88ac6af7d8..7b9dc990fc 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 41f54d1baa..b87f5dc013 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. */