Fix compilation with Cygwin, by Herve Poussineau.
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@3831 c046a42c-6fe2-441c-8c8c-71466251a162
diff --git a/sysemu.h b/sysemu.h
index 8bb88b1..29377bf 100644
--- a/sysemu.h
+++ b/sysemu.h
@@ -122,7 +122,7 @@
typedef struct DriveInfo {
BlockDriverState *bdrv;
- BlockInterfaceType interface;
+ BlockInterfaceType type;
int bus;
int unit;
} DriveInfo;
@@ -134,8 +134,8 @@
int nb_drives;
DriveInfo drives_table[MAX_DRIVES+1];
-extern int drive_get_index(BlockInterfaceType interface, int bus, int unit);
-extern int drive_get_max_bus(BlockInterfaceType interface);
+extern int drive_get_index(BlockInterfaceType type, int bus, int unit);
+extern int drive_get_max_bus(BlockInterfaceType type);
/* serial ports */