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 bcff6d8..ec9ba58 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 */