From 58990545c12b0ebf746b8c8cd6a21993f5b1e9f0 Mon Sep 17 00:00:00 2001 From: Jeffrey Altman Date: Tue, 23 Mar 2010 19:00:27 -0400 Subject: [PATCH] Windows: cm_attrs_t requires inclusion of cm_vnodeops.h Include cm_vnodeops.h before reference to cm_attrs_t. LICENSE MIT Change-Id: Ic6d2a505d4f30c75d16d5c99eef306af7563ba4c Reviewed-on: http://gerrit.openafs.org/1639 Reviewed-by: Jeffrey Altman Tested-by: Jeffrey Altman --- src/WINNT/afsd/smb.h | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/src/WINNT/afsd/smb.h b/src/WINNT/afsd/smb.h index 4f9d894dc0..822fb13051 100644 --- a/src/WINNT/afsd/smb.h +++ b/src/WINNT/afsd/smb.h @@ -745,11 +745,6 @@ extern unsigned int smb_IsDotFile(clientchar_t *lastComp); extern afs_uint32 smb_AsyncStore; extern afs_uint32 smb_AsyncStoreSize; -extern int smb_unixModeDefaultFile; -extern int smb_unixModeDefaultDir; -extern void smb_SetInitialModeBitsForFile(int smb_attr, cm_attr_t * attr); -extern void smb_SetInitialModeBitsForDir(int smb_attr, cm_attr_t * attr); - /* the following are used for smb auth */ extern int smb_authType; /* Type of SMB authentication to be used. One from below. */ @@ -839,6 +834,12 @@ extern void smb_InitReq(cm_req_t *reqp); #include "smb_ioctl.h" #include "smb_iocons.h" #include "smb_rpc.h" +#include "cm_vnodeops.h" + +extern int smb_unixModeDefaultFile; +extern int smb_unixModeDefaultDir; +extern void smb_SetInitialModeBitsForFile(int smb_attr, cm_attr_t * attr); +extern void smb_SetInitialModeBitsForDir(int smb_attr, cm_attr_t * attr); cm_user_t *smb_FindOrCreateUser(smb_vc_t *vcp, clientchar_t *usern);