Removed the io.c #include from the dummy IOCTL handler and added the handler to the Unix SDL UI as well.
This commit is contained in:
@@ -27,7 +27,7 @@ set(THREADS_PREFER_PTHREAD_FLAG TRUE)
|
||||
find_package(Threads REQUIRED)
|
||||
target_link_libraries(86Box Threads::Threads)
|
||||
|
||||
add_library(ui OBJECT unix_sdl.c unix_cdrom.c)
|
||||
add_library(ui OBJECT unix_sdl.c unix_cdrom.c dummy_cdrom_ioctl.c)
|
||||
target_compile_definitions(ui PUBLIC _FILE_OFFSET_BITS=64)
|
||||
target_link_libraries(ui ${CMAKE_DL_LIBS})
|
||||
|
||||
|
||||
Reference in New Issue
Block a user