[all-commits] [llvm/llvm-project] a762cc: [flang] include sys/wait.h for EXECUTE_COMMAND_LIN...
Dan McGregor via All-commits
all-commits at lists.llvm.org
Fri Jan 12 03:53:36 PST 2024
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: a762cc21556bbd90ae7d9ee13c33213501195f64
https://github.com/llvm/llvm-project/commit/a762cc21556bbd90ae7d9ee13c33213501195f64
Author: Dan McGregor <dan.mcgregor at usask.ca>
Date: 2024-01-12 (Fri, 12 Jan 2024)
Changed paths:
M flang/runtime/execute.cpp
Log Message:
-----------
[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.
More information about the All-commits
mailing list