summaryrefslogtreecommitdiff
path: root/devel/libgtop/patches/patch-aa
blob: 68a17338e22c75651d9c43c34e195405b6a10192 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
$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;