Files
termux-packages/packages/libtsduck/src-libtscore-system-tsSysUtils.h.patch
2025-04-14 06:43:55 +00:00

12 lines
469 B
Diff

--- a/src/libtscore/system/tsSysUtils.h
+++ b/src/libtscore/system/tsSysUtils.h
@@ -75,6 +75,8 @@ namespace ts {
#elif defined(TS_WINDOWS)
// Second parameter of ::DeviceIoControl().
using ioctl_request_t = ::DWORD;
+ #elif defined(TS_ANDROID)
+ using ioctl_request_t = int;
#else
// Extract the type of the second parameter of ::ioctl().
// It is "unsigned long" on most Linux systems but "int" on Alpine Linux.