Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix build with Musl libc #10

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

Conversation

@PureTryOut
Copy link

@PureTryOut PureTryOut commented Apr 19, 2021

The glib header files are available under glib-2.0 but weren't included
as such. This isn't Musl specific but it broke the build

RTLD_DEEPBIND is glibc specific and not in POSIX, guard it's use

TEMP_FAILURE_RETRY is glibc specific. If it's not available, define it.
The implementation is taken from Bionic which is permissively licensed,
so should be compatible with the licensing here but IANAL

RTLD_DEEPBIND is glibc specific and not in POSIX, guard it's use

TEMP_FAILURE_RETRY is glibc specific. If it's not available, define it.
The implementation is taken from Bionic which is permissively licensed,
so should be compatible with the licensing here but IANAL

On 32-bit arches input_event->time is undefined when using a time64
kernel. Instead read the input_event_sec and input_event_usec values
directly and save those instead.
Also make sure to support input_event_sec and input_event_usec on
non-time64 kernels (downstream Android ones for example)
@PureTryOut PureTryOut force-pushed the PureTryOut:musl branch from f519a4a to 77aa0c5 Apr 19, 2021
multitouch.h Show resolved Hide resolved
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Linked issues

Successfully merging this pull request may close these issues.

None yet

2 participants