[util] Spoof types for #include to succeed
authorShao Miller <Shao.Miller@yrdsb.edu.on.ca>
Sun, 16 Jan 2011 22:25:38 +0000 (17:25 -0500)
committerShao Miller <Shao.Miller@yrdsb.edu.on.ca>
Sun, 16 Jan 2011 22:25:38 +0000 (17:25 -0500)
This is a temporary hack and needs to be fixed.

src/util/winvblk.c
src/util/winvblock.RES [new file with mode: 0644]

index 43b5abe..c655cec 100644 (file)
 #include "portable.h"
 #include "winvblock.h"
 #include "mount.h"
+/* Spoof these types for the #include to succeed.  TODO: Fix this. */
+typedef char
+  WV_S_DEV_EXT, WV_S_DEV_T, PDEVICE_OBJECT,
+  WVL_S_BUS_NODE, WVL_S_DISK_T, KEVENT;
 #include "aoe.h"
 
 /* Command function. */
diff --git a/src/util/winvblock.RES b/src/util/winvblock.RES
new file mode 100644 (file)
index 0000000..dce7469
Binary files /dev/null and b/src/util/winvblock.RES differ