]> git.michaelhowe.org Git - packages/o/openafs.git/commitdiff
vioc-header-split-20060921
authorJeffrey Altman <jaltman@secure-endpoints.com>
Fri, 22 Sep 2006 21:18:50 +0000 (21:18 +0000)
committerJeffrey Altman <jaltman@secure-endpoints.com>
Fri, 22 Sep 2006 21:18:50 +0000 (21:18 +0000)
enable windows to build again

src/util/vice.h

index bcff6d88aa903118c608e3f0374a916b4ffb6f56..ec9ba58cc514cc51182053f2cfea174d88337f89 100644 (file)
@@ -11,7 +11,9 @@
 #define AFS_VICE_H 1
 
 #include <sys/types.h>
+#ifndef AFS_NT40_ENV
 #include <sys/ioctl.h>
+#endif
 #if defined(__sun) && defined(__SVR4)
 # include <sys/ioccom.h>
 #endif
@@ -31,7 +33,7 @@ struct ViceIoctl32 {
 #endif
 
 /* Windows uses a different structure layout, defined in sys/pioctl_nt.h. */
-#ifndef _WIN32_WINNT
+#ifndef AFS_NT40_ENV
 struct ViceIoctl {
     caddr_t in, out;           /* Data to be transferred in, or out */
     short in_size;             /* Size of input buffer <= 2K */