]> git.michaelhowe.org Git - packages/o/openafs.git/commitdiff
OpenBSD: curproc has moved in OpenBSD 4.8
authorAntoine Verheijen <antoine@ualberta.ca>
Mon, 24 Jan 2011 07:17:46 +0000 (00:17 -0700)
committerDerrick Brashear <shadow@dementia.org>
Mon, 24 Jan 2011 17:27:39 +0000 (09:27 -0800)
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 <buildbot@rampaginggeek.com>
Reviewed-by: Derrick Brashear <shadow@dementia.org>
src/rx/rx_event.c

index c6df30d21315596f4e20b0cbefa8f7add345f4b6..f822419a107f41cf3af61d038306f9184c877c2a 100644 (file)
 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 <roken.h>