mirror of
https://github.com/libretro/RetroArch.git
synced 2025-02-03 07:22:15 +00:00
cdrom: use sys/ioctl header instead of stropts
This commit is contained in:
parent
2a89ca332f
commit
e843354b14
@ -47,7 +47,7 @@
|
||||
#endif
|
||||
|
||||
#if defined(__linux__) && !defined(ANDROID)
|
||||
#include <stropts.h>
|
||||
#include <sys/ioctl.h>
|
||||
#include <scsi/sg.h>
|
||||
#endif
|
||||
|
||||
|
@ -5038,7 +5038,7 @@ bool menu_displaylist_ctl(enum menu_displaylist_ctl_state type,
|
||||
}
|
||||
|
||||
{
|
||||
char atip_string[16] = {"Genuine CD: "};
|
||||
char atip_string[32] = {"Genuine Disc: "};
|
||||
|
||||
if (atip)
|
||||
strlcat(atip_string, "No", sizeof(atip_string));
|
||||
|
@ -138,7 +138,7 @@ check_enabled THREADS THREAD_STORAGE 'Thread Local Storage' 'Threads are' false
|
||||
check_lib '' THREAD_STORAGE "$PTHREADLIB" pthread_key_create
|
||||
|
||||
if [ "$OS" = 'Linux' ]; then
|
||||
check_header CDROM stropts.h scsi/sg.h
|
||||
check_header CDROM sys/ioctl.h scsi/sg.h
|
||||
fi
|
||||
|
||||
check_platform 'Linux Win32' CDROM 'CD-ROM is' user
|
||||
|
Loading…
x
Reference in New Issue
Block a user