$NetBSD: patch-aa,v 1.13 2003/01/21 10:12:31 tron Exp $

--- sysdeps/freebsd/glibtop_machine.h.orig	Mon Nov 26 23:37:59 2001
+++ sysdeps/freebsd/glibtop_machine.h	Sun Jan 19 23:18:04 2003
@@ -39,6 +39,14 @@
 #include <osreldate.h>
 #endif
 
+#ifdef __NetBSD__
+#include <sys/proc.h>
+
+#ifndef SRUN
+#define SRUN	SACTIVE
+#endif
+#endif
+
 BEGIN_LIBGTOP_DECLS
 
 typedef struct _glibtop_machine glibtop_machine;
