summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHeiko Schaefer <heikos@users.sourceforge.net>2003-02-14 18:00:38 +0000
committerHeiko Schaefer <heikos@users.sourceforge.net>2003-02-14 18:00:38 +0000
commit0d593de60a43e74eb07c5f9d959d6ee76e43b70a (patch)
tree6f66d69f092b8cbde2c4d1ae1c832bbebbf8a2a2
parentbfdc223bf69fef0ba75648621a4772c53c0c361f (diff)
downloadxine-lib-0d593de60a43e74eb07c5f9d959d6ee76e43b70a.tar.gz
xine-lib-0d593de60a43e74eb07c5f9d959d6ee76e43b70a.tar.bz2
FreeBSD compile fixes
CVS patchset: 4157 CVS date: 2003/02/14 18:00:38
-rw-r--r--src/input/input_dvd.c11
1 files changed, 10 insertions, 1 deletions
diff --git a/src/input/input_dvd.c b/src/input/input_dvd.c
index 52b31b546..e8961055e 100644
--- a/src/input/input_dvd.c
+++ b/src/input/input_dvd.c
@@ -18,7 +18,7 @@
* along with this program; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA
*
- * $Id: input_dvd.c,v 1.127 2003/02/13 16:24:27 mroi Exp $
+ * $Id: input_dvd.c,v 1.128 2003/02/14 18:00:38 heikos Exp $
*
*/
@@ -41,6 +41,7 @@
#include <stdlib.h>
#include <stddef.h>
#include <dirent.h>
+#include <sys/param.h>
#include <sys/types.h>
#include <sys/stat.h>
#include <unistd.h>
@@ -133,6 +134,11 @@
#define MAX_DIR_ENTRIES 1250
#define MAX_STR_LEN 255
+#if defined (__FreeBSD__)
+# define off64_t off_t
+# define lseek64 lseek
+#endif
+
typedef struct {
input_plugin_t input_plugin; /* Parent input plugin type */
@@ -1652,6 +1658,9 @@ static void *init_class (xine_t *xine, void *data) {
/*
* $Log: input_dvd.c,v $
+ * Revision 1.128 2003/02/14 18:00:38 heikos
+ * FreeBSD compile fixes
+ *
* Revision 1.127 2003/02/13 16:24:27 mroi
* use the requested channel number when querying for the language
* (the _cool_ menu in xine-ui displays the correct languages now)