Hello,
I'm not the original author but the maintainer of the unofficial
https://github.com/speed47/dvdisaster version. I happen to already have
fixed this compilation issue. The patch is trivial and attached to this
message.
Best Regards,
Stéphane.
diff --git a/dvdisaster.c b/dvdisaster.c
index 6840fd5..da616b9 100644
--- a/dvdisaster.c
+++ b/dvdisaster.c
@@ -22,6 +22,11 @@
#include "dvdisaster.h"
+struct _RawBuffer *rawbuffer_forward;
+struct _DefectiveSectorHeader *dsh_forward;
+struct _DeviceHandle *dh_forward;
+struct _Image *dh_image;
+
/*
* The all-famous main() loop
*/
diff --git a/dvdisaster.h b/dvdisaster.h
index f536040..e729e96 100644
--- a/dvdisaster.h
+++ b/dvdisaster.h
@@ -438,10 +438,10 @@ typedef struct _CrcBlock
*** forward declarations
***/
-struct _RawBuffer *rawbuffer_forward;
-struct _DefectiveSectorHeader *dsh_forward;
-struct _DeviceHandle *dh_forward;
-struct _Image *dh_image;
+extern struct _RawBuffer *rawbuffer_forward;
+extern struct _DefectiveSectorHeader *dsh_forward;
+extern struct _DeviceHandle *dh_forward;
+extern struct _Image *dh_image;
/***
*** bitmap.c