More patches from the pbatard branch.

This commit is contained in:
R. Bernstein
2012-03-04 14:37:07 -05:00
parent 14f6f505ce
commit d0b09d15ef
14 changed files with 58 additions and 138 deletions

View File

@@ -31,12 +31,19 @@
# include "NtScsi.h"
# include "undocumented.h"
#else
#if defined (__MINGW64__)
# define _NTSRB_ /* Bad things happen if srb.h gets included */
# include <windows.h>
# include <ntddcdrm.h>
# include <ntddscsi.h>
#else
# include <ddk/ntddcdrm.h>
# include <ddk/ntddscsi.h>
#endif
# include <ddk/scsi.h>
#endif
#ifdef WIN32
#if defined (_WIN32)
#include <windows.h>
#endif

View File

@@ -46,7 +46,7 @@
# include <string.h>
#endif
#ifdef HAVE_UNISTD_H // readlink
#ifdef HAVE_UNISTD_H /* readlink */
# include <unistd.h>
#endif

View File

@@ -28,7 +28,9 @@
#include "cdio_assert.h"
#include "portable.h"
#ifdef HAVE_STDIO_H
#include <stdio.h>
#endif
#ifdef HAVE_STRING_H
#include <string.h>
#endif

View File

@@ -26,7 +26,9 @@
#ifdef HAVE_STDLIB_H
#include <stdlib.h>
#endif
#ifdef HAVE_STDIO_H
#include <stdio.h>
#endif
#ifdef HAVE_STRING_H
#include <string.h>