Can't compile xfce4-power-manager 1.0.3 on FreeBSD with Xfce 4.8pre3

Ali Abdallah aliov at xfce.org
Thu Jan 6 20:10:04 CET 2011


On 01/06/2011 06:06 PM, Olivier Duchateau wrote:
> Hi,

Hello,

> On FreeBSD with Xfce 4.8pre3, when I enable polkit, I can't compile
> xfce4-power-manager (see attachment). When I disable this option
> everything looks good.
>
> polkit v0.9


Please add

#include <sys/param.h>
#include <sys/sysctl.h>
#include <sys/user.h>

in the top of the file xfpm-polkit.c and let me know if it compiles.

Cheers,
Ali.




More information about the Xfce mailing list