From 2e8e558d31c3a3aac83b8476635fbd311c27faf9 Mon Sep 17 00:00:00 2001 From: guenther <> Date: Sun, 2 Jun 2013 16:14:59 +0000 Subject: [PATCH] XPG 4 apparently exposed d_ino and ino_t. Also, always pull in for the internal types ok matthew@ --- src/include/dirent.h | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/src/include/dirent.h b/src/include/dirent.h index 4ff35215..76010568 100644 --- a/src/include/dirent.h +++ b/src/include/dirent.h @@ -1,4 +1,4 @@ -/* $OpenBSD: dirent.h,v 1.30 2013/03/24 17:46:58 deraadt Exp $ */ +/* $OpenBSD: dirent.h,v 1.31 2013/06/02 16:14:59 guenther Exp $ */ /* $NetBSD: dirent.h,v 1.9 1995/03/26 20:13:37 jtc Exp $ */ /*- @@ -40,8 +40,10 @@ /* * POSIX doesn't mandate this, but X/Open XPG 4.2 does. */ -#if __BSD_VISIBLE || __XPG_VISIBLE >= 420 +#if __BSD_VISIBLE || __XPG_VISIBLE >= 400 #include +#else +#include #endif /*