From e4660dd8cfb314971224dac5d1d13426d56494dd Mon Sep 17 00:00:00 2001 From: Antoine Verheijen Date: Mon, 24 Jan 2011 00:17:46 -0700 Subject: [PATCH] OpenBSD: curproc has moved in OpenBSD 4.8 With OpenBSD 4.8, curproc has moved from h/proc.h to h/systm.h. Fix rx_event.c to reflect this change. Change-Id: I38d4676d445bfafa47f2ae973d789d0b9f6a687a Reviewed-on: http://gerrit.openafs.org/3749 Tested-by: BuildBot Reviewed-by: Derrick Brashear --- src/rx/rx_event.c | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/src/rx/rx_event.c b/src/rx/rx_event.c index c6df30d213..f822419a10 100644 --- a/src/rx/rx_event.c +++ b/src/rx/rx_event.c @@ -33,7 +33,11 @@ extern void *osi_Alloc(); # endif # if defined(AFS_OBSD_ENV) -# include "h/proc.h" +# if defined(AFS_OBSD48_ENV) +# include "h/systm.h" +# else +# include "h/proc.h" +# endif # endif #else /* KERNEL */ # include