aboutsummaryrefslogtreecommitdiff
path: root/x11/xfce4-taskmanager/files/patch-task-manager-freebsd.c
diff options
context:
space:
mode:
authorCy Schubert <cy@FreeBSD.org>2011-10-29 21:19:01 +0000
committerCy Schubert <cy@FreeBSD.org>2011-10-29 21:19:01 +0000
commitdb94bdffc81e4c99914673d21b0f8f012bd1d275 (patch)
tree3eb30e8122d298d0bc385dc3f7d0ce53c77cfdd2 /x11/xfce4-taskmanager/files/patch-task-manager-freebsd.c
parent9bb4db40e1e750d87b5ccb2f876cea3fd84817d4 (diff)
Notes
Diffstat (limited to 'x11/xfce4-taskmanager/files/patch-task-manager-freebsd.c')
-rw-r--r--x11/xfce4-taskmanager/files/patch-task-manager-freebsd.c12
1 files changed, 12 insertions, 0 deletions
diff --git a/x11/xfce4-taskmanager/files/patch-task-manager-freebsd.c b/x11/xfce4-taskmanager/files/patch-task-manager-freebsd.c
new file mode 100644
index 000000000000..3d846fb8693d
--- /dev/null
+++ b/x11/xfce4-taskmanager/files/patch-task-manager-freebsd.c
@@ -0,0 +1,12 @@
+--- src/task-manager-freebsd.c.orig 2010-05-21 06:29:33.000000000 -0700
++++ src/task-manager-freebsd.c 2011-10-27 12:42:24.425260800 -0700
+@@ -18,6 +18,9 @@
+ #include <fcntl.h>
+ #include <paths.h>
+ #include <unistd.h>
++#if defined(__FreeBSD_version) && __FreeBSD_version >= 900044
++#include <sys/vmmeter.h>
++#endif
+
+ #include <glib.h>
+