diff -r -u cdparanoia-III-10.2/interface/common_interface.c cdparanoia-III-10.2-fixed/interface/common_interface.c
old
|
new
|
|
15 | 15 | #include <fcntl.h> |
16 | 16 | #include <sys/syslimits.h> |
17 | 17 | #include <stdio.h> |
| 18 | #include "smallft.h" |
18 | 19 | |
19 | 20 | #ifdef __APPLE__ |
20 | 21 | #include "cdda_interface.h" |
… |
… |
|
24 | 25 | #include <linux/hdreg.h> |
25 | 26 | |
26 | 27 | #include "utils.h" |
27 | | #include "smallft.h" |
28 | 28 | |
29 | 29 | /* Test for presence of a cdrom by pinging with the 'CDROMVOLREAD' ioctl() */ |
30 | 30 | /* Also test using CDROM_GET_CAPABILITY (if available) as some newer DVDROMs will |
diff -r -u cdparanoia-III-10.2/interface/interface.c cdparanoia-III-10.2-fixed/interface/interface.c
old
|
new
|
|
11 | 11 | |
12 | 12 | #ifndef __APPLE__ |
13 | 13 | #include "low_interface.h" |
| 14 | #else |
| 15 | #include "osx_interface.h" |
14 | 16 | #endif |
15 | 17 | #include "common_interface.h" |
16 | 18 | #include "utils.h" |
diff -r -u cdparanoia-III-10.2/interface/osx_interface.h cdparanoia-III-10.2-fixed/interface/osx_interface.h
old
|
new
|
|
14 | 14 | #include <IOKit/storage/IOMedia.h> |
15 | 15 | #include <IOKit/storage/IOCDMedia.h> |
16 | 16 | #include <IOKit/storage/IOCDMediaBSDClient.h> |
| 17 | #include "cdda_interface.h" |
17 | 18 | |
18 | 19 | char *osx_bsd_device_for_media(io_object_t media); |
19 | 20 | int osx_enumerate_devices(cdrom_drive *d, |