[vlc-commits] commit: directory: build fix (Pierre Ynard )
git at videolan.org
git at videolan.org
Tue Nov 16 06:00:08 CET 2010
vlc | branch: master | Pierre Ynard <linkfanel at yahoo.fr> | Tue Nov 16 06:00:20 2010 +0100| [4ba326218a87f8748f6792e45f158b1238efba1f] | committer: Pierre Ynard
directory: build fix
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=4ba326218a87f8748f6792e45f158b1238efba1f
---
modules/access/directory.c | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
diff --git a/modules/access/directory.c b/modules/access/directory.c
index 4e43924..0e0d57e 100644
--- a/modules/access/directory.c
+++ b/modules/access/directory.c
@@ -225,6 +225,7 @@ void DirClose( vlc_object_t * p_this )
free (p_sys);
}
+#ifdef HAVE_OPENAT
/* Detect directories that recurse into themselves. */
static bool has_inode_loop (const directory_t *dir, dev_t dev, ino_t inode)
{
@@ -236,6 +237,7 @@ static bool has_inode_loop (const directory_t *dir, dev_t dev, ino_t inode)
}
return false;
}
+#endif
block_t *DirBlock (access_t *p_access)
{
More information about the vlc-commits
mailing list