From 0ee7fcc0a49494ad66778012b7808f80ee3af8d3 Mon Sep 17 00:00:00 2001 From: Andrew Deason Date: Thu, 1 Dec 2011 11:20:41 -0600 Subject: [PATCH] SOLARIS: Define BSD_COMP for non-UKERNEL on 5.11 We were defining BSD_COMP twice for UKERNEL. Move one of the #define's up to the !UKERNEL section. Change-Id: I91b90d666ab83a2037549c3f66ea038234a42e11 Reviewed-on: http://gerrit.openafs.org/6162 Reviewed-by: Derrick Brashear Tested-by: Derrick Brashear --- src/config/param.sun4x_511.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/config/param.sun4x_511.h b/src/config/param.sun4x_511.h index d5a4a283a..93823bf01 100644 --- a/src/config/param.sun4x_511.h +++ b/src/config/param.sun4x_511.h @@ -26,6 +26,9 @@ #define AFS_3DISPARES 1 /* Utilize the 3 available disk inode 'spares' */ #endif /* AFS_NAMEI_ENV */ +/* so we get _IOW() when we include sys/ioctl.h */ +#define BSD_COMP + #define AFS_CACHE_VNODE_PATH 1 #include @@ -110,9 +113,6 @@ #define AFS_USERSPACE_IP_ADDR 1 #define AFS_GCPAGS 0 /* if nonzero, garbage collect PAGs */ -/* so we get _IOW() when we include sys/ioctl.h */ -#define BSD_COMP - #define UKERNEL 1 /* user space kernel */ #define AFS_GREEDY43_ENV 1 /* Used only in rx/rx_user.c */ #define AFS_ENV 1 -- 2.39.5