Skip to content

Include sys/wait.h for WIF* macros#6053

Merged
chrchr-github merged 1 commit intocppcheck-opensource:mainfrom
AMDmi3:patch-1
Feb 27, 2024
Merged

Include sys/wait.h for WIF* macros#6053
chrchr-github merged 1 commit intocppcheck-opensource:mainfrom
AMDmi3:patch-1

Conversation

@AMDmi3
Copy link
Copy Markdown
Contributor

@AMDmi3 AMDmi3 commented Feb 27, 2024

This fixes build on FreeBSD. Not sure if preprocessor condition is 100% correct though.

Comment thread cli/cppcheckexecutor.cpp Outdated
This fixes build on FreeBSD
@chrchr-github chrchr-github merged commit 4ee70a0 into cppcheck-opensource:main Feb 27, 2024
@AMDmi3 AMDmi3 deleted the patch-1 branch February 27, 2024 23:09
@firewave
Copy link
Copy Markdown
Collaborator

firewave commented Mar 4, 2024

This was probably not added (or removed) because of an include-what-you-use issue. It now reports the header as unnecessary. I filed include-what-you-use/include-what-you-use#1481 about that.

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.

3 participants