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 compilation on OpenBSD. #982

Merged
merged 1 commit into from
Dec 26, 2024
Merged

Conversation

brad0
Copy link
Contributor

@brad0 brad0 commented Dec 24, 2024

speechd.h:63: error: redefinition of 'union semun'

@sthibaul
Copy link
Collaborator

Mmm, we don't seem to be using it actually? I'd say just remove the structure definition entirely.

speechd.h:63: error: redefinition of 'union semun'

Looking around I don't see any indication of the use of the SysV API
in the codebase.
@brad0 brad0 force-pushed the openbsd_speechd_semun branch from 3c1bda8 to d3e2b6c Compare December 26, 2024 09:45
@brad0
Copy link
Contributor Author

brad0 commented Dec 26, 2024

Mmm, we don't seem to be using it actually? I'd say just remove the structure definition entirely.

I didn't know what you meant by that at first. Seeing as the code includes headers for both the older SysV API and POSIX API. I clearly see the POSIX API utilization but not SysV.

@sthibaul sthibaul merged commit 1bb4a1b into brailcom:master Dec 26, 2024
7 checks passed
@sthibaul
Copy link
Collaborator

Thanks!

@brad0 brad0 deleted the openbsd_speechd_semun branch December 29, 2024 15:15
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