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

Diego Biurrun git at videolan.org
Thu Oct 30 17:16:32 CET 2014


libdvdcss | branch: master | Diego Biurrun <diego at biurrun.de> | Fri Oct 24 18:43:56 2014 +0200| [0c037bea3bd8d07cd957955b42971958b57542a5] | committer: Diego Biurrun

ioctl: Add missing header to fix standalone compilation under Windows

> http://git.videolan.org/gitweb.cgi/libdvdcss.git/?a=commit;h=0c037bea3bd8d07cd957955b42971958b57542a5
---

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

diff --git a/src/ioctl.h b/src/ioctl.h
index ce64153..3ef8b8b 100644
--- a/src/ioctl.h
+++ b/src/ioctl.h
@@ -174,6 +174,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)



More information about the libdvdcss-devel mailing list