$NetBSD: patch-dc,v 1.1 2009/07/11 13:14:13 hasso Exp $

--- sysdeps/freebsd/cpu.c.orig	2009-07-10 22:48:38 +0300
+++ sysdeps/freebsd/cpu.c	2009-07-10 22:51:26 +0300
@@ -53,6 +53,7 @@ _glibtop_init_cpu_s (glibtop *server)
 void
 glibtop_get_cpu_s (glibtop *server, glibtop_cpu *buf)
 {
+#ifndef __DragonFly__
 	long cpts [CPUSTATES];
 	struct clockinfo ci;
 	size_t length;
@@ -111,4 +112,5 @@ glibtop_get_cpu_s (glibtop *server, glib
 	if (ncpu > 1) {
 		buf->flags |= _glibtop_sysdeps_cpu_smp;
 	}
+#endif
 }
