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

Include <cerrno> where required for the sake of FreeBSD #2811

Merged
merged 1 commit into from
Dec 2, 2022

Conversation

TiborGY
Copy link
Contributor

@TiborGY TiborGY commented Nov 30, 2022

Description

Apparently errno is not defined on FreeBSD by default, so we have to explicitly include <cerrno> in files that use it. This PR adds that include.
Fixes and closes #2810

User API & Changelog headlines

  • None? The offending code has not made it to any release yet.

Dev notes & details

  • #include <cerrno> is added to the few PSIO files that use errno

Checklist

  • No new features
  • CI tests are passsing

Status

  • Ready for review
  • Ready for merge

@loriab loriab added this to the Psi4 1.7 milestone Nov 30, 2022
@JonathonMisiewicz JonathonMisiewicz merged commit b9a6040 into psi4:master Dec 2, 2022
@TiborGY TiborGY deleted the bsd_errno_fix branch December 4, 2022 21:09
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.

error: use of undeclared identifier 'errno'
3 participants