[Xfce4-commits] <xfce4-fsguard-plugin:master> Fix build on GNU/Hurd (Bug #7955 / #8820)

Landry Breuil noreply at xfce.org
Fri May 4 16:00:04 CEST 2012


Updating branch refs/heads/master
         to 12b60aa2bf4284ee9b183a38343ec522b8762ee2 (commit)
       from 69443e7a1e5e0c57bcd98a0e9c6fb0462c8c93e1 (commit)

commit 12b60aa2bf4284ee9b183a38343ec522b8762ee2
Author: Landry Breuil <landry at xfce.org>
Date:   Fri May 4 15:58:54 2012 +0200

    Fix build on GNU/Hurd (Bug #7955 / #8820)

 panel-plugin/fsguard.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/panel-plugin/fsguard.c b/panel-plugin/fsguard.c
index b4a802c..25b78a4 100644
--- a/panel-plugin/fsguard.c
+++ b/panel-plugin/fsguard.c
@@ -38,7 +38,7 @@
 #include <string.h>
 #include <sys/types.h>
 #include <sys/stat.h>
-#if defined(__linux__)
+#if defined(__linux__) || defined(__GNU__)
 #include <sys/vfs.h>
 #elif defined(__FreeBSD__) || defined(__NetBSD__) || defined(__OpenBSD__) || defined(__FreeBSD_kernel__)
 #include <sys/param.h>


More information about the Xfce4-commits mailing list