Skip to content

examples: remove unnecessary include of <bits/pthreadtypes.h>#1016

Merged
igaw merged 1 commit intolinux-nvme:masterfrom
dne:remove-internal-include
May 23, 2025
Merged

examples: remove unnecessary include of <bits/pthreadtypes.h>#1016
igaw merged 1 commit intolinux-nvme:masterfrom
dne:remove-internal-include

Conversation

@dne
Copy link
Copy Markdown
Contributor

@dne dne commented May 23, 2025

The <bits/*.h> header files are GNU libc specific, and should not be used directly from application code. This one in particular is already included by <pthread.h> on glibc.

Fixes build on musl.

See also #1014.

The <bits/*.h> header files are GNU libc specific, and should not be
used directly from application code. This one in particular is already
included by <pthread.h> on glibc.

Fixes build on musl.

Signed-off-by: Daniel Néri <[email protected]>
@dne dne force-pushed the remove-internal-include branch from 901ea82 to 35b205e Compare May 23, 2025 13:08
@igaw igaw merged commit 9b3ab85 into linux-nvme:master May 23, 2025
12 checks passed
@igaw
Copy link
Copy Markdown
Collaborator

igaw commented May 23, 2025

Thanks!

@dne dne deleted the remove-internal-include branch June 10, 2025 15:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants