patch-dvd_udf_c 553 B

123456789101112131415161718192021222324
  1. $OpenBSD: patch-dvd_udf_c,v 1.1.1.1 2008/01/03 19:30:16 oga Exp $
  2. --- dvd_udf.c.orig Thu Jan 3 02:58:08 2008
  3. +++ dvd_udf.c Thu Jan 3 02:58:37 2008
  4. @@ -38,7 +38,7 @@
  5. #include <sys/stat.h>
  6. #if defined(__OpenBSD__)
  7. -# include <sys/dvdio.h>
  8. +# include <sys/cdio.h>
  9. #elif defined(__linux__)
  10. # include <linux/cdrom.h>
  11. #else
  12. @@ -111,8 +111,8 @@ struct AD {
  13. #define GETN(p, n, target) memcpy(target, &data[p], n)
  14. #ifdef DVD_AUTH
  15. - dvd_authinfo ai;
  16. - dvd_struct dvds;
  17. + union dvd_authinfo ai;
  18. + union dvd_struct dvds;
  19. int last_agid = 0;
  20. #endif