aboutsummaryrefslogtreecommitdiff
path: root/x11/fbpanel/files/patch-plugins__chart__chart.c
diff options
context:
space:
mode:
Diffstat (limited to 'x11/fbpanel/files/patch-plugins__chart__chart.c')
-rw-r--r--x11/fbpanel/files/patch-plugins__chart__chart.c16
1 files changed, 16 insertions, 0 deletions
diff --git a/x11/fbpanel/files/patch-plugins__chart__chart.c b/x11/fbpanel/files/patch-plugins__chart__chart.c
new file mode 100644
index 000000000000..75ce56b722d5
--- /dev/null
+++ b/x11/fbpanel/files/patch-plugins__chart__chart.c
@@ -0,0 +1,16 @@
+--- ./plugins/chart/chart.c.orig 2010-05-02 02:13:47.000000000 -0700
++++ ./plugins/chart/chart.c 2010-11-17 11:06:07.000000000 -0800
+@@ -24,7 +24,13 @@
+ #include <string.h>
+ #include <sys/time.h>
+ #include <time.h>
++#ifdef __FreeBSD__
++# include <sys/types.h>
++# include <sys/resource.h>
++# include <sys/sysctl.h>
++#else
+ #include <sys/sysinfo.h>
++#endif
+ #include <stdlib.h>
+
+ #include "plugin.h"