freebsd-ports/x11/fbpanel/files/patch-plugins__chart__chart.c
Beech Rintoul 4c8a065e7f Update to version 6.1
Numerous changes since last FreeBSD port version.
See CHANGELOG from distfile for details.

PR:		152338
Submitted by:	Charlie Kester corky1951@comcast.net (maintainer)
Approved by:	itetcu
2010-11-22 11:35:55 +00:00

16 lines
399 B
C

--- ./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"