[Xfce4-commits] <xfce4-power-manager:master> Fix compilation with polkit in freebsd (bug #8712).

Nick Schermer noreply at xfce.org
Tue Apr 17 21:36:01 CEST 2012


Updating branch refs/heads/master
         to 8a30a7b29b19df5a7700124625624a2e6243b39b (commit)
       from 0ddd127e56eb051505810d7cee4cc3b3764ee79d (commit)

commit 8a30a7b29b19df5a7700124625624a2e6243b39b
Author: Nick Schermer <nick at xfce.org>
Date:   Tue Apr 17 21:33:52 2012 +0200

    Fix compilation with polkit in freebsd (bug #8712).

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

diff --git a/src/xfpm-polkit.c b/src/xfpm-polkit.c
index f997415..4ec270e 100644
--- a/src/xfpm-polkit.c
+++ b/src/xfpm-polkit.c
@@ -31,11 +31,11 @@
 #endif
 
 #include <sys/types.h>
+#include <sys/sysctl.h>
+#include <sys/user.h>
 
 #if defined(__linux)
 #include <sys/param.h>
-#include <sys/sysctl.h>
-#include <sys/user.h>
 #elif defined(__FreeBSD__)
 #include <sys/stat.h>
 #elif defined(__SVR4) && defined(__sun)


More information about the Xfce4-commits mailing list