Skip to content

gh-153463: Include sys/syscall.h independently of getrandom support#153464

Open
jjhelmus wants to merge 1 commit into
python:mainfrom
jjhelmus:jjh/gate_with_sys_syscall_h
Open

gh-153463: Include sys/syscall.h independently of getrandom support#153464
jjhelmus wants to merge 1 commit into
python:mainfrom
jjhelmus:jjh/gate_with_sys_syscall_h

Conversation

@jjhelmus

@jjhelmus jjhelmus commented Jul 9, 2026

Copy link
Copy Markdown
Contributor

Guard sys/syscall.h in Modules/posixmodules.c with HAVE_SYS_SYSCALL_H

Guard sys/syscall.h in Modules/posixmodules.c with HAVE_SYS_SYSCALL_H
@jjhelmus

jjhelmus commented Jul 9, 2026

Copy link
Copy Markdown
Contributor Author

In addition to fixing the linked issue, this change better reflects the actual dependency. The include should be guarded on the header's available not on a feature probe.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant