From 6ad96b367793557d0a02c1bff75cc60befcd59a6 Mon Sep 17 00:00:00 2001 From: Alexander Larsson Date: Mon, 17 Dec 2007 10:53:53 +0000 Subject: [PATCH] Add missing #ifdef fixing OSX build. (#503334, patch from Richard Hult) 2007-12-17 Alexander Larsson * gunixmounts.c: Add missing #ifdef fixing OSX build. (#503334, patch from Richard Hult) svn path=/trunk/; revision=6141 --- gio/ChangeLog | 6 ++++++ gio/gunixmounts.c | 2 ++ 2 files changed, 8 insertions(+) diff --git a/gio/ChangeLog b/gio/ChangeLog index 0bc706cc8..1fb8a9429 100644 --- a/gio/ChangeLog +++ b/gio/ChangeLog @@ -1,3 +1,9 @@ +2007-12-17 Alexander Larsson + + * gunixmounts.c: + Add missing #ifdef fixing OSX build. + (#503334, patch from Richard Hult) + 2007-12-14 David Zeuthen * Makefile.am: diff --git a/gio/gunixmounts.c b/gio/gunixmounts.c index c5f488e31..b3d7b4dcd 100644 --- a/gio/gunixmounts.c +++ b/gio/gunixmounts.c @@ -1938,6 +1938,7 @@ _resolve_symlink (const char *file) return f; } +#ifdef HAVE_MNTENT_H static const char * _resolve_dev_root (void) { @@ -1998,6 +1999,7 @@ _resolve_dev_root (void) found: return real_dev_root; } +#endif #define __G_UNIX_MOUNTS_C__ #include "gioaliasdef.c"