git://git.openafs.org
/
openafs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
(parent:
faee281
)
vioc-header-split-20060921
author
Jeffrey Altman
<jaltman@secure-endpoints.com>
Fri, 22 Sep 2006 21:18:50 +0000 (21:18 +0000)
committer
Jeffrey 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
patch
|
blob
|
history
diff --git
a/src/util/vice.h
b/src/util/vice.h
index
bcff6d8
..
ec9ba58
100644
(file)
--- a/
src/util/vice.h
+++ b/
src/util/vice.h
@@
-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 */