Skip to content

Commit

Permalink
science/psi4: Fix build on some systems
Browse files Browse the repository at this point in the history
... by adding missing include for errno.

Reported by:	fallout
  • Loading branch information
yurivict committed Dec 1, 2022
1 parent 5ff9a5f commit c7a893d
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions science/psi4/files/patch-psi4_src_psi4_libpsio_rw.cc
@@ -0,0 +1,12 @@
- workaround for https://github.com/psi4/psi4/issues/2810

--- psi4/src/psi4/libpsio/rw.cc.orig 2022-12-01 20:44:27 UTC
+++ psi4/src/psi4/libpsio/rw.cc
@@ -32,6 +32,7 @@
*/

#include <cstdio>
+#include <cerrno>
#include "psi4/libpsio/psio.h"
#include "psi4/libpsio/psio.hpp"
#include "psi4/psi4-dec.h"

0 comments on commit c7a893d

Please sign in to comment.