Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[fix] include stdio header in readline C code in example so it builds on all systems #3378

Merged
merged 2 commits into from
Sep 1, 2024

Conversation

mattpolzin
Copy link
Collaborator

Closes #1179.

Description

On some systems this sample already builds fine, on others it hits the error that FILE is not defined. Including stdio fixes the problem and even aligns with the example code given in the readline manpages.

Should this change go in the CHANGELOG?

  • If this is a fix, user-facing change, a compiler change, or a new paper
    implementation, I have updated CHANGELOG_NEXT.md (and potentially also
    CONTRIBUTORS.md).

@mattpolzin mattpolzin merged commit 5459e17 into idris-lang:main Sep 1, 2024
22 checks passed
@mattpolzin mattpolzin deleted the fix-readline-example branch September 1, 2024 13:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Failure to compile FFI-readline example on nix.
1 participant