Unverified Commit a762cc21 authored by Dan McGregor's avatar Dan McGregor Committed by GitHub
Browse files

[flang] include sys/wait.h for EXECUTE_COMMAND_LINE (#77675)

Linux defines WEXITSTATUS in stdlib.h, but at least FreeBSD and NetBSD
only define it in sys/wait.h. Include this header unconditionally, since
it is required on the BSDs and should be harmless on other platforms.

Fixes FreeBSD build after #74077.
parent 35c19fdd
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment