From: Antoine Verheijen Date: Mon, 24 Jan 2011 07:17:46 +0000 (-0700) Subject: OpenBSD: curproc has moved in OpenBSD 4.8 X-Git-Tag: upstream/1.8.0_pre1^2~4240 X-Git-Url: https://git.michaelhowe.org/gitweb/?a=commitdiff_plain;h=e4660dd8cfb314971224dac5d1d13426d56494dd;p=packages%2Fo%2Fopenafs.git 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 --- diff --git a/src/rx/rx_event.c b/src/rx/rx_event.c index c6df30d21..f822419a1 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