diff options
Diffstat (limited to 'devel/libgtop/patches/patch-ae')
-rw-r--r-- | devel/libgtop/patches/patch-ae | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/devel/libgtop/patches/patch-ae b/devel/libgtop/patches/patch-ae new file mode 100644 index 00000000000..55972ae632a --- /dev/null +++ b/devel/libgtop/patches/patch-ae @@ -0,0 +1,15 @@ +$NetBSD: patch-ae,v 1.6 2000/06/08 11:43:18 tron Exp $ + +--- sysdeps/freebsd/cpu.c.orig Sun Feb 13 16:47:58 2000 ++++ sysdeps/freebsd/cpu.c Thu Jun 8 13:30:08 2000 +@@ -27,6 +27,10 @@ + + #include <glibtop_suid.h> + ++#ifdef __NetBSD__ ++#include <sys/sched.h> ++#endif ++ + static const unsigned long _glibtop_sysdeps_cpu = + (1L << GLIBTOP_CPU_TOTAL) + (1L << GLIBTOP_CPU_USER) + + (1L << GLIBTOP_CPU_NICE) + (1L << GLIBTOP_CPU_SYS) + |