[MPlayer-dev-eng] dvdauth.c patch for BSD/OS

Steven M. Schultz sms at 2BSD.COM
Sun Jan 13 02:23:49 CET 2002


Hi!

	A trivial patch (the same thing was done earlier in MPlayer in another
	module) to enable compilation of dvdauth.c under BSD/OS.

	Once 'dvd.h' is included the linux ioctls are emulated by libdvd
	(which MPlayer is already linking against for BSD/OS).

	Cheers,

	Steven Schultz
	sms at 2bsd.com

--- dvdauth.c.dist	Sat Jan 12 17:16:21 2002
+++ dvdauth.c	Sat Jan 12 17:18:49 2002
@@ -37,6 +37,8 @@
 #  include <linux/cdrom.h>
 #elif defined(__sun)
 #  include <sun/dvdio.h>
+#elif defined(__bsdi__)
+#  include <dvd.h>
 #else
 #  error "Need the DVD ioctls"
 #endif



More information about the MPlayer-dev-eng mailing list