diff --git a/src/afs/FBSD/osi_machdep.h b/src/afs/FBSD/osi_machdep.h
index b0446ef..22ca160 100644
--- a/src/afs/FBSD/osi_machdep.h
+++ b/src/afs/FBSD/osi_machdep.h
@@ -24,6 +24,9 @@
 #if defined(AFS_FBSD50_ENV)
 #include <sys/mutex.h>
 #endif
+#if defined(AFS_FBSD80_ENV)
+#include <sys/priv.h>
+#endif
 
 /* 
  * Time related macros
@@ -84,6 +87,9 @@ extern struct vop_vector afs_vnodeops;
 
 #if defined(AFS_FBSD80_ENV)
 #define afs_suser(x)	(!priv_check(curthread))
+/* we have the ability to regard separately distinct privileges,
+ * but this is the equivalent of suser, so correct for temporary */
+#define afs_suser(x)   (!priv_check(curthread, PRIV_AFS_DAEMON))
 #elif defined(AFS_FBSD50_ENV)
 #define afs_suser(x)	(!suser(curthread))
 #else
