summaryrefslogtreecommitdiffstats
path: root/dvdread/dvd_udf.h
diff options
context:
space:
mode:
Diffstat (limited to 'dvdread/dvd_udf.h')
-rw-r--r--dvdread/dvd_udf.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/dvdread/dvd_udf.h b/dvdread/dvd_udf.h
index b600983d9a..0e2e8b0df4 100644
--- a/dvdread/dvd_udf.h
+++ b/dvdread/dvd_udf.h
@@ -31,7 +31,11 @@
* http://www.gnu.org/copyleft/gpl.html
*/
+#if defined(HAVE_INTTYPES_H)
#include <inttypes.h>
+#elif defined(HAVE_STDINT_H)
+#include <stdint.h>
+#endif
#include "dvd_reader.h"
@@ -48,7 +52,7 @@ extern "C" {
*/
uint32_t UDFFindFile( dvd_reader_t *device, char *filename, uint32_t *size );
-void FreeUDFCache(void *cache);
+void FreeUDFCache(dvd_reader_t *device, void *cache);
int UDFGetVolumeIdentifier(dvd_reader_t *device,
char *volid, unsigned int volid_size);
int UDFGetVolumeSetIdentifier(dvd_reader_t *device,