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"