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 on *BSD #10

Merged
merged 1 commit into from
Aug 4, 2023
Merged

Fix build on *BSD #10

merged 1 commit into from
Aug 4, 2023

Conversation

rafe-s
Copy link

@rafe-s rafe-s commented Jul 30, 2023

The invocation of POSIX_C_SOURCE restricts the visibility of non-POSIX features. This causes the build to fail on BSDs as the BSD header files include types that are non-standard. Adding the __BSD_VISIBLE macro makes these types available and fixes the build issue.

CMakeLists.txt Outdated Show resolved Hide resolved
CMakeLists.txt Outdated Show resolved Hide resolved
Fix build failure on BSDs caused by strict implementation of POSIX
@mikedld
Copy link
Member

mikedld commented Aug 4, 2023

Thanks!

@mikedld mikedld merged commit 09ef1be into transmission:post-3.4-transmission Aug 4, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

2 participants