summaryrefslogtreecommitdiff
path: root/sysutils/atop/files/patch-atop.h
diff options
context:
space:
mode:
Diffstat (limited to 'sysutils/atop/files/patch-atop.h')
-rw-r--r--sysutils/atop/files/patch-atop.h14
1 files changed, 14 insertions, 0 deletions
diff --git a/sysutils/atop/files/patch-atop.h b/sysutils/atop/files/patch-atop.h
new file mode 100644
index 000000000000..caa15d373d4e
--- /dev/null
+++ b/sysutils/atop/files/patch-atop.h
@@ -0,0 +1,14 @@
+--- atop.h.orig 2014-01-15 16:05:34 UTC
++++ atop.h
+@@ -49,6 +49,11 @@ struct netpertask;
+ #define RRNETATOP 0x0004
+ #define RRNETATOPD 0x0008
+
++#include <sys/param.h>
++#if __FreeBSD_version > 1100116
++#define P_KTHREAD P_KPROC
++#endif
++
+ struct visualize {
+ char (*show_samp) (time_t, int,
+ struct sstat *, struct tstat *, struct tstat **,