Author: benny Date: 2007-02-12 19:31:24 +0000 (Mon, 12 Feb 2007) New Revision: 24963
Modified: libexo/trunk/ChangeLog libexo/trunk/exo/exo-mount-point.c Log: 2007-02-12 Benedikt Meurer <[EMAIL PROTECTED]> * exo/exo-mount-point.c: Fix compilation on Solaris 2.8. Bug #2798. Modified: libexo/trunk/ChangeLog =================================================================== --- libexo/trunk/ChangeLog 2007-02-12 19:05:16 UTC (rev 24962) +++ libexo/trunk/ChangeLog 2007-02-12 19:31:24 UTC (rev 24963) @@ -1,5 +1,9 @@ 2007-02-12 Benedikt Meurer <[EMAIL PROTECTED]> + * exo/exo-mount-point.c: Fix compilation on Solaris 2.8. Bug #2798. + +2007-02-12 Benedikt Meurer <[EMAIL PROTECTED]> + * configure.in.in, exo/exo-mount-point.c: Fix compilation on newer NetBSD versions. Bug #2808. Modified: libexo/trunk/exo/exo-mount-point.c =================================================================== --- libexo/trunk/exo/exo-mount-point.c 2007-02-12 19:05:16 UTC (rev 24962) +++ libexo/trunk/exo/exo-mount-point.c 2007-02-12 19:31:24 UTC (rev 24963) @@ -53,13 +53,13 @@ #ifdef HAVE_MEMORY_H #include <memory.h> #endif +#include <stdio.h> /* Solaris 2.8 needs this before mntent.h */ #ifdef HAVE_MNTENT_H #include <mntent.h> #endif #ifdef HAVE_PATHS_H #include <paths.h> #endif -#include <stdio.h> #ifdef HAVE_STDLIB_H #include <stdlib.h> #endif @@ -230,7 +230,7 @@ FILE *fp; /* try to open the /etc/mnttab file */ - fp = setmntent ("/etc/mnttab", "r"); + fp = fopen ("/etc/mnttab", "r"); if (G_UNLIKELY (fp == NULL)) { g_set_error (error, G_FILE_ERROR, g_file_error_from_errno (errno), _______________________________________________ Xfce4-commits mailing list Xfce4-commits@xfce.org http://foo-projects.org/mailman/listinfo/xfce4-commits