cdrom: use sys/ioctl header instead of stropts

This commit is contained in:
Brad Parker 2019-07-15 10:38:54 -04:00
parent 2a89ca332f
commit e843354b14
3 changed files with 3 additions and 3 deletions

View File

@ -47,7 +47,7 @@
#endif
#if defined(__linux__) && !defined(ANDROID)
#include <stropts.h>
#include <sys/ioctl.h>
#include <scsi/sg.h>
#endif

View File

@ -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));

View File

@ -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