Skip to content

Commit

Permalink
missing includes
Browse files Browse the repository at this point in the history
(thanks to Gonzalo Tornaría)
  • Loading branch information
mezzarobba committed Oct 22, 2023
1 parent 38c4556 commit 0322c12
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/sage/libs/arb/arb_wrap.h
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,8 @@
* by arb, most of which rely on flint's ulong and slong defines.
*/

#include <mpfr.h>

#undef ulong
#undef slong

Expand Down
2 changes: 2 additions & 0 deletions src/sage/libs/flint/flint_wrap.h
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@
*/

#include <gmp.h>
#include <mpfr.h>

/* Save previous definition of ulong if any, as pari also uses it */
/* Should work on GCC, clang, MSVC */
Expand All @@ -33,6 +34,7 @@

#include <flint/arith.h>
#include <flint/fmpq.h>
#include <flint/fmpq_vec.h>
#include <flint/fmpq_mat.h>
#include <flint/fmpq_poly.h>
#include <flint/fmpz.h>
Expand Down

0 comments on commit 0322c12

Please sign in to comment.