[Xfce4-commits] <xfce4-power-manager:master> Add include.

Nick Schermer noreply at xfce.org
Fri Apr 20 00:04:02 CEST 2012


Updating branch refs/heads/master
         to 0ada7850f7f154b433e889680e1aeb828503cc0c (commit)
       from f8691745c0ff1655892a228a9ee21f7b7c3b17e7 (commit)

commit 0ada7850f7f154b433e889680e1aeb828503cc0c
Author: Nick Schermer <nick at xfce.org>
Date:   Fri Apr 20 00:01:42 2012 +0200

    Add include.

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

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


More information about the Xfce4-commits mailing list