--- xfce4-systemload-plugin-0.4/panel-plugin/cpu.c 2007-03-10 00:02:05.997544000 +0100 +++ xfce4-systemload-plugin-0.4/panel-plugin/cpu.c 2007-03-10 00:02:27.000000000 +0100 @@ -37,7 +37,7 @@ #include #include "cpu.h" -#if defined(__linux__) +#if defined(__linux__) || defined(__FreeBSD_kernel__) #define PROC_STAT "/proc/stat" /* user, nice, system, interrupt(BSD specific), idle */ --- xfce4-systemload-plugin-0.4/panel-plugin/memswap.c 2007-03-10 00:01:41.904882000 +0100 +++ xfce4-systemload-plugin-0.4/panel-plugin/memswap.c 2007-03-10 00:01:55.000000000 +0100 @@ -32,7 +32,7 @@ #include "memswap.h" -#if defined(__linux__) +#if defined(__linux__) || defined(__FreeBSD_kernel__) #include #include #include --- xfce4-systemload-plugin-0.4/panel-plugin/uptime.c 2007-03-10 00:03:36.023726000 +0100 +++ xfce4-systemload-plugin-0.4/panel-plugin/uptime.c 2007-03-10 00:03:56.000000000 +0100 @@ -34,7 +34,7 @@ #include "uptime.h" -#if defined(__linux__) +#if defined(__linux__) || defined(__FreeBSD_kernel__) #include #include #include