[libdvdcss-devel] Add missing #includes to make all headers compile standalone.

[email protected] (Diego Biurrun)
Newsgroups gmane.comp.video.videolan.libdvdcss,gmane.comp.video.videolan.libdvdcss.devel
Message-ID <[email protected]>
libdvdcss | branch: master | Diego Biurrun <[email protected]> | Mon Oct 20 11:59:17 2014 +0200| [f9a28c11a9a4963bb4e3c8ca9c74582b5dccd8bd] | committer: Diego Biurrun

Add missing #includes to make all headers compile standalone.

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

 src/css.h       |    1 +
 src/csstables.h |    2 ++
 src/ioctl.h     |    2 ++
 src/libdvdcss.h |    6 ++++++
 4 files changed, 11 insertions(+)

diff --git a/src/css.h b/src/css.h
index 54b5a4f..48d7a1e 100644
--- a/src/css.h
+++ b/src/css.h
@@ -29,6 +29,7 @@
 #ifndef DVDCSS_CSS_H
 #define DVDCSS_CSS_H
 
+#include "common.h"
 #include "dvdcss/dvdcss.h"
 
 #define KEY_SIZE 5
diff --git a/src/csstables.h b/src/csstables.h
index 10b0faf..7306f35 100644
--- a/src/csstables.h
+++ b/src/csstables.h
@@ -31,6 +31,8 @@
 #ifndef DVDCSS_CSSTABLES_H
 #define DVDCSS_CSSTABLES_H
 
+#include "common.h"
+
 static const uint8_t p_css_tab1[ 256 ] =
 {
     0x33, 0x73, 0x3b, 0x26, 0x63, 0x23, 0x6b, 0x76,
diff --git a/src/ioctl.h b/src/ioctl.h
index a56c637..bb50214 100644
--- a/src/ioctl.h
+++ b/src/ioctl.h
@@ -23,6 +23,8 @@
 #ifndef DVDCSS_IOCTL_H
 #define DVDCSS_IOCTL_H
 
+#include "common.h"
+
 int ioctl_ReadCopyright     ( int, int, int * );
 int ioctl_ReadDiscKey       ( int, int *, uint8_t * );
 int ioctl_ReadTitleKey      ( int, int *, int, uint8_t * );
diff --git a/src/libdvdcss.h b/src/libdvdcss.h
index e89cff4..741fbd2 100644
--- a/src/libdvdcss.h
+++ b/src/libdvdcss.h
@@ -24,6 +24,12 @@
 #ifndef DVDCSS_LIBDVDCSS_H
 #define DVDCSS_LIBDVDCSS_H
 
+#include "config.h"
+
+#ifdef HAVE_LIMITS_H
+#   include <limits.h>
+#endif
+
 #include "dvdcss/dvdcss.h"
 #include "css.h"
 #include "device.h"

_______________________________________________
libdvdcss-devel mailing list
[email protected]
https://mailman.videolan.org/listinfo/libdvdcss-devel
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.