Bug report
Bug description:
Working from this #130913 PR, I recently needed to add this line #include <sys/sysctl.h> // sysctlbyname in a header file.
From CI, the check-c-globals.py tools failed with this message:
..... ..... /home/runner/work/cpython/cpython/Modules/_multiprocessing/semaphore_macosx.h:5:10: fatal error: sys/sysctl.h: No such file or directory
5 | #include <sys/sysctl.h> // sysctlbyname
| ^~~~~~~~~~~~~~
compilation terminated.
# requested file: </home/runner/work/cpython/cpython/Modules/_multiprocessing/semaphore_macosx.h>
See https://github.com/python/cpython/actions/runs/26958247530/job/79541476456?pr=130913#step:11:39 for complete logs
cc @ericsnowcurrently (As suggested in the documentation:)
CPython versions tested on:
3.16
Operating systems tested on:
macOS
Linked PRs
Reactions are currently unavailable
Bug report
Bug description:
Working from this #130913 PR, I recently needed to add this line #include <sys/sysctl.h> // sysctlbyname in a header file.
From CI, the check-c-globals.py tools failed with this message:
..... ..... /home/runner/work/cpython/cpython/Modules/_multiprocessing/semaphore_macosx.h:5:10: fatal error: sys/sysctl.h: No such file or directory 5 | #include <sys/sysctl.h> // sysctlbyname | ^~~~~~~~~~~~~~ compilation terminated. # requested file: </home/runner/work/cpython/cpython/Modules/_multiprocessing/semaphore_macosx.h>See https://github.com/python/cpython/actions/runs/26958247530/job/79541476456?pr=130913#step:11:39 for complete logs
cc @ericsnowcurrently (As suggested in the documentation:)
CPython versions tested on:
3.16
Operating systems tested on:
macOS
Linked PRs