# HG changeset patch # User nicodvb # Date 1177752447 0 # Node ID 2d75ce9fa2524016d38770b39037afaba18d9a33 # Parent 2146ff691bcdd1ee31768e3cf65b58ed78633409 when compiling against external dvdread add a compile time macro to identify the case (by means of dvdnav-config --cflags) and include the correct headers in dvdnav.h diff -r 2146ff691bcd -r 2d75ce9fa252 dvdnav.h --- a/dvdnav.h Tue Apr 24 23:06:22 2007 +0000 +++ b/dvdnav.h Sat Apr 28 09:27:27 2007 +0000 @@ -37,9 +37,15 @@ #ifndef DVDNAV_COMPILE # include +#ifdef DVDNAV_USES_EXTERNAL_DVDREAD +# include +# include +# include /* For vm_cmd_t */ +#else # include # include # include /* For vm_cmd_t */ +#endif # include #endif