Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Include of linux/limits.h breaks build on Linux <5.1 #106881

Copy link
Copy link
Closed
@indygreg

Description

@indygreg
Issue body actions

Bug report

#101857 / #101858 added an #include <linux/limits.h> on Linux in Modules/posixmodule.c.

If my Linux Git history sleuthing is accurate (git log -- include/linux/limits.h), linux/limits.h only exists in Linux <3.10 and >5.1. (Yes, the file was removed then re-added.) Attempting to compile CPython against Linux headers 3.10-5.0 fails due to the missing file.

cc @thesamesam (commit author) @gpshead (reviewer)

Linked PRs

Metadata

Metadata

Assignees

Labels

type-bugAn unexpected behavior, bug, or errorAn unexpected behavior, bug, or error

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions

    Morty Proxy This is a proxified and sanitized view of the page, visit original site.