0
0
mirror of https://github.com/termux/termux-packages.git synced 2025-03-04 05:59:06 +00:00
termux-packages/packages/libtsduck/src-libtsduck-base-system-tsSysUtils.h.patch
2024-04-24 09:58:34 +03:00

12 lines
479 B
Diff

--- a/src/libtsduck/base/system/tsSysUtils.h
+++ b/src/libtsduck/base/system/tsSysUtils.h
@@ -72,6 +72,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.