blob: 1fdab16762120385373803f609f384786f549c40 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
|
$NetBSD: patch-ap,v 1.1 2003/01/21 20:08:10 rh Exp $
--- sysdeps/freebsd/glibtop_machine.h.orig Tue Jun 11 07:34:42 2002
+++ sysdeps/freebsd/glibtop_machine.h
@@ -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;
|