[libdvdcss-devel] [PATCH 20/47] ioctl: Add missing header to fix standalone compilation under Windows

Diego Biurrun diego at biurrun.de
Wed Oct 29 21:33:20 CET 2014


---
 src/ioctl.h | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/ioctl.h b/src/ioctl.h
index 1ba090f..501a69b 100644
--- a/src/ioctl.h
+++ b/src/ioctl.h
@@ -143,6 +143,7 @@ typedef union dvd_authinfo dvd_authinfo;
 
 #define WIN32_LEAN_AND_MEAN
 #include <windows.h>
+#include <winioctl.h>
 
 #define IOCTL_DVD_START_SESSION         CTL_CODE(FILE_DEVICE_DVD, 0x0400, METHOD_BUFFERED, FILE_READ_ACCESS)
 #define IOCTL_DVD_READ_KEY              CTL_CODE(FILE_DEVICE_DVD, 0x0401, METHOD_BUFFERED, FILE_READ_ACCESS)
-- 
1.9.1



More information about the libdvdcss-devel mailing list