diff --git a/src/dos/cdrom_aspi_win32.cpp b/src/dos/cdrom_aspi_win32.cpp index 1787e8af..156b25e2 100644 --- a/src/dos/cdrom_aspi_win32.cpp +++ b/src/dos/cdrom_aspi_win32.cpp @@ -16,7 +16,7 @@ * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ -/* $Id: cdrom_aspi_win32.cpp,v 1.8 2004-01-02 23:10:31 finsterr Exp $ */ +/* $Id: cdrom_aspi_win32.cpp,v 1.9 2004-01-02 23:43:52 harekiet Exp $ */ #if defined (WIN32) @@ -27,11 +27,17 @@ //Are actually system includes but leave for now #include "wnaspi32.h" -#include "ntddcdrm.h" -#include "ntddscsi.h" -#include "scsidefs.h" -#include +#if defined (_MSC_VER) +#include // Ioctl stuff +#include +#include // Ioctl stuff +#else +#include "ddk/ntddcdrm.h" // Ioctl stuff +#include "ddk/ntddscsi.h" +#endif + +#include "scsidefs.h" // ***************************************************************** // Windows ASPI functions (should work for all WIN with ASPI layer) diff --git a/src/dos/cdrom_ioctl_win32.cpp b/src/dos/cdrom_ioctl_win32.cpp index fda4e124..a3ef30f5 100644 --- a/src/dos/cdrom_ioctl_win32.cpp +++ b/src/dos/cdrom_ioctl_win32.cpp @@ -16,7 +16,7 @@ * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ -/* $Id: cdrom_ioctl_win32.cpp,v 1.8 2004-01-02 23:10:31 finsterr Exp $ */ +/* $Id: cdrom_ioctl_win32.cpp,v 1.9 2004-01-02 23:43:52 harekiet Exp $ */ #if defined (WIN32) @@ -25,10 +25,15 @@ // ***************************************************************** #include -#include // Ioctl stuff #include -#include "ntddcdrm.h" // Ioctl stuff +#if defined (_MSC_VER) +#include // Ioctl stuff +#include // Ioctl stuff +#else +#include "ddk/ntddcdrm.h" // Ioctl stuff +#endif + #include "cdrom.h" CDROM_Interface_Ioctl::CDROM_Interface_Ioctl()