fix for alpha support; ok maintainer nino

This commit is contained in:
pvalchev 2002-09-11 16:45:08 +00:00
parent b65991dc63
commit e918c1a859

View File

@ -1,6 +1,15 @@
$OpenBSD: patch-sysdeps_freebsd_prockernel_c,v 1.2 2001/11/27 23:07:02 todd Exp $ $OpenBSD: patch-sysdeps_freebsd_prockernel_c,v 1.3 2002/09/11 16:45:08 pvalchev Exp $
--- sysdeps/freebsd/prockernel.c.orig Fri Sep 28 20:14:49 2001 --- sysdeps/freebsd/prockernel.c.orig Mon Nov 26 15:37:59 2001
+++ sysdeps/freebsd/prockernel.c Fri Sep 28 20:38:18 2001 +++ sysdeps/freebsd/prockernel.c Tue Sep 10 22:31:22 2002
@@ -34,7 +34,7 @@
#if (!defined __OpenBSD__) && (!defined __bsdi__)
#include <sys/user.h>
#endif
-#if !defined(__bsdi__) && !(defined(__FreeBSD__) && defined(__alpha__))
+#if !defined(__bsdi__) && !((defined(__FreeBSD__) || defined(__OpenBSD__)) && defined(__alpha__))
#include <machine/pcb.h>
#endif
#if defined(__FreeBSD__) && !defined(__alpha__)
@@ -68,7 +68,9 @@ void @@ -68,7 +68,9 @@ void
glibtop_init_proc_kernel_p (glibtop *server) glibtop_init_proc_kernel_p (glibtop *server)
{ {