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 macOS build: add missing headers #1883

Merged
merged 2 commits into from
Aug 14, 2023

Conversation

barracuda156
Copy link
Contributor

  1. pthread.h should be included also on macOS, otherwise pthread_t is undefined.
  2. sys/types.h is needed with _DARWIN_C_SOURCE in order to u_char and u_short be recognized.

@chipitsine chipitsine self-assigned this Aug 14, 2023
@chipitsine
Copy link
Member

thank you! I'll have a look in couple of days

@chipitsine chipitsine merged commit efac849 into SoftEtherVPN:master Aug 14, 2023
9 of 10 checks passed
@barracuda156 barracuda156 deleted the darwin branch August 14, 2023 18:16
@barracuda156
Copy link
Contributor Author

Thank you for merging!

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.

None yet

2 participants