]> 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>
Fri, 11 Feb 2011 13:15:24 +0000 (05:15 -0800)
With OpenBSD 4.8, curproc has moved from h/proc.h to
h/systm.h. Fix rx_event.c to reflect this change.

Reviewed-on: http://gerrit.openafs.org/3749
Tested-by: BuildBot <buildbot@rampaginggeek.com>
Reviewed-by: Derrick Brashear <shadow@dementia.org>
(cherry picked from commit e4660dd8cfb314971224dac5d1d13426d56494dd)

Change-Id: Ie59100172daae48dea985749e07416daea88b8d2
Reviewed-on: http://gerrit.openafs.org/3923
Tested-by: BuildBot <buildbot@rampaginggeek.com>
Reviewed-by: Derrick Brashear <shadow@dementia.org>
src/rx/rx_event.c

index bdae086b9939784c206969f3f52b2ca9019921aa..8c05e05d80837602a358721c7babc46b31f3d921 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 <stdio.h>