Include sys/sched.h.
This commit is contained in:
parent
23116bfec9
commit
92a03e3800
@ -1,12 +1,13 @@
|
||||
# $OpenBSD: Makefile,v 1.51 2010/10/26 09:44:59 sthen Exp $
|
||||
# $OpenBSD: Makefile,v 1.52 2010/10/27 12:52:42 ajacoutot Exp $
|
||||
|
||||
COMMENT= portable library for obtaining system information
|
||||
|
||||
GNOME_VERSION= 2.28.2
|
||||
GNOME_PROJECT= libgtop
|
||||
REVISION= 0
|
||||
PKGNAME= libgtop2-${VERSION}
|
||||
|
||||
REVISION= 1
|
||||
|
||||
SHARED_LIBS= gtop-2.0 9.0 # .9.0
|
||||
|
||||
CATEGORIES= devel
|
||||
|
12
devel/libgtop2/patches/patch-sysdeps_bsd_cpu_c
Normal file
12
devel/libgtop2/patches/patch-sysdeps_bsd_cpu_c
Normal file
@ -0,0 +1,12 @@
|
||||
$OpenBSD: patch-sysdeps_bsd_cpu_c,v 1.1 2010/10/27 12:52:42 ajacoutot Exp $
|
||||
--- sysdeps/bsd/cpu.c.orig Wed Oct 27 14:15:06 2010
|
||||
+++ sysdeps/bsd/cpu.c Wed Oct 27 14:15:22 2010
|
||||
@@ -26,7 +26,7 @@
|
||||
|
||||
#include <glibtop_suid.h>
|
||||
|
||||
-#ifdef __NetBSD__
|
||||
+#if defined(__NetBSD__) || defined(__OpenBSD__)
|
||||
#include <sys/sched.h>
|
||||
#endif
|
||||
|
Loading…
Reference in New Issue
Block a user