From 7e6b463b725d946ef6568a26c8ddc6e8b2a0198a Mon Sep 17 00:00:00 2001 From: Craig Gidney Date: Wed, 27 Sep 2023 21:48:48 -0700 Subject: [PATCH] Fix build failing when using gcc 13 - Have to include `` to get types like uint64_t --- .gitignore | 1 + src/pymatching/sparse_blossom/ints.h | 1 + 2 files changed, 2 insertions(+) diff --git a/.gitignore b/.gitignore index be3d12b6..d1dcac6a 100644 --- a/.gitignore +++ b/.gitignore @@ -29,3 +29,4 @@ build build.ninja .ninja_deps .ninja_log +.clwb diff --git a/src/pymatching/sparse_blossom/ints.h b/src/pymatching/sparse_blossom/ints.h index cfa46451..2ff5fd17 100644 --- a/src/pymatching/sparse_blossom/ints.h +++ b/src/pymatching/sparse_blossom/ints.h @@ -16,6 +16,7 @@ #define PYMATCHING_INTS_H #include +#include #include "pymatching/sparse_blossom/tracker/cyclic.h"