From 08c1d138dc4b98a13bd0b31a84afae72bb0e611b Mon Sep 17 00:00:00 2001 From: faust3 Date: Fri, 18 Apr 2003 18:47:57 +0000 Subject: [PATCH] MINGW32 port git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@9929 b3059339-0415-0410-9bf9-f77b7e298cf2 --- libmpdvdkit2/dvd_reader.h | 3 +++ libmpdvdkit2/dvd_udf.c | 2 ++ 2 files changed, 5 insertions(+) diff --git a/libmpdvdkit2/dvd_reader.h b/libmpdvdkit2/dvd_reader.h index 75f7182747..36b415cd8c 100644 --- a/libmpdvdkit2/dvd_reader.h +++ b/libmpdvdkit2/dvd_reader.h @@ -21,6 +21,9 @@ */ #include +#ifdef __MINGW32__ +typedef long ssize_t; +#endif /** * The length of one Logical Block of a DVD Video. diff --git a/libmpdvdkit2/dvd_udf.c b/libmpdvdkit2/dvd_udf.c index 443f2e22b0..e39eaf50bb 100644 --- a/libmpdvdkit2/dvd_udf.c +++ b/libmpdvdkit2/dvd_udf.c @@ -31,7 +31,9 @@ #include #include //#include +#ifndef __MINGW32__ #include +#endif #include #include #include