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 missing include in rglfw.c on BSD platforms #2968

Merged
merged 1 commit into from
Mar 19, 2023
Merged

Fix missing include in rglfw.c on BSD platforms #2968

merged 1 commit into from
Mar 19, 2023

Conversation

Koromix
Copy link
Contributor

@Koromix Koromix commented Mar 19, 2023

Building raylib 4.5 (with rglfw.c) on BSD platforms fails with missing symbol _glfwPollPOSIX.

The root cause seems to be that rglfw.c does not include src/posix_poll.c on BSD systems.

This commit adds the missing include and allows Raylib to successfully build on OpenBSD and FreeBSD atr least (I haven't tested on NetBSD).

@Koromix Koromix changed the title Fix missing symbol when rglfw.c on BSD platforms Fix missing include in rglfw.c on BSD platforms Mar 19, 2023
@raysan5 raysan5 merged commit 76b5959 into raysan5:master Mar 19, 2023
@raysan5
Copy link
Owner

raysan5 commented Mar 19, 2023

@Koromix thanks for the fix! I couldn't test those pkatforms...

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