[Xfce4-commits] <xfce4-power-manager:master> Use __FreeBSD__ instead of HAVE_FREEBSD as it is not defined in config.h.

Ali Abdallah noreply at xfce.org
Mon Feb 14 11:08:02 CET 2011


Updating branch refs/heads/master
         to 7714d57008384c30f64bee2b6e7cdb1e1b377be0 (commit)
       from 50f8c1aa194be51b2f12b8be2d12dcf9911ee2e1 (commit)

commit 7714d57008384c30f64bee2b6e7cdb1e1b377be0
Author: Ali Abdallah <aliov at xfce.org>
Date:   Fri Jan 7 15:23:35 2011 +0100

    Use __FreeBSD__ instead of HAVE_FREEBSD as it is not defined in config.h.

 src/xfpm-polkit.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/src/xfpm-polkit.c b/src/xfpm-polkit.c
index 0460cf1..a50c2db 100644
--- a/src/xfpm-polkit.c
+++ b/src/xfpm-polkit.c
@@ -32,7 +32,7 @@
 
 #include <sys/types.h>
 
-#ifndef HAVE_FREEBSD
+#if defined(__FreeBSD__)
 #include <sys/stat.h>
 #else
 #include <sys/param.h>



More information about the Xfce4-commits mailing list