[Xfce4-commits] r25931 - in libexo/trunk: . exo

Benedikt Meurer benny at xfce.org
Fri Jul 20 22:18:08 CEST 2007


Author: benny
Date: 2007-07-20 20:18:08 +0000 (Fri, 20 Jul 2007)
New Revision: 25931

Modified:
   libexo/trunk/ChangeLog
   libexo/trunk/exo/exo-mount-point.c
Log:
2007-07-20	Benedikt Meurer <benny at xfce.org>

	* exo/exo-mount-point.c: Fix build on Solaris.




Modified: libexo/trunk/ChangeLog
===================================================================
--- libexo/trunk/ChangeLog	2007-07-20 17:08:24 UTC (rev 25930)
+++ libexo/trunk/ChangeLog	2007-07-20 20:18:08 UTC (rev 25931)
@@ -1,3 +1,7 @@
+2007-07-20	Benedikt Meurer <benny at xfce.org>
+
+	* exo/exo-mount-point.c: Fix build on Solaris.
+
 2007-05-22	Benedikt Meurer <benny at xfce.org>
 
 	* configure.in.in, exo/exo-string.{c,h}, exo/exo.symbols: Add new

Modified: libexo/trunk/exo/exo-mount-point.c
===================================================================
--- libexo/trunk/exo/exo-mount-point.c	2007-07-20 17:08:24 UTC (rev 25930)
+++ libexo/trunk/exo/exo-mount-point.c	2007-07-20 20:18:08 UTC (rev 25931)
@@ -40,9 +40,6 @@
 #ifdef HAVE_SYS_MOUNT_H
 #include <sys/mount.h>
 #endif
-#ifdef HAVE_SYS_MNTTAB_H
-#include <sys/mnttab.h>
-#endif
 
 #ifdef HAVE_ERRNO_H
 #include <errno.h>
@@ -66,6 +63,9 @@
 #ifdef HAVE_STRING_H
 #include <string.h>
 #endif
+#ifdef HAVE_SYS_MNTTAB_H
+#include <sys/mnttab.h> /* Solaris need stdio.h first */
+#endif
 
 #include <exo/exo-mount-point.h>
 #include <exo/exo-private.h>



More information about the Xfce4-commits mailing list