shithub: libdvdcss

Download patch

ref: 0c037bea3bd8d07cd957955b42971958b57542a5
parent: 87da5eba2a088334ad08059d30b2502c28cd9f19
author: Diego Biurrun <diego@biurrun.de>
date: Fri Oct 24 14:43:56 EDT 2014

ioctl: Add missing header to fix standalone compilation under Windows

--- a/src/ioctl.h
+++ b/src/ioctl.h
@@ -174,6 +174,7 @@
 
 #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)