From f2d6771b59d866072eb2d3c3f1af12abea11d09f Mon Sep 17 00:00:00 2001 From: Oleksandr Brezhniev Date: Mon, 14 Aug 2023 15:41:42 +0100 Subject: [PATCH] Proper build fix on Mac --- build/fq.hpp | 4 ++++ build/fr.hpp | 4 ++++ 2 files changed, 8 insertions(+) diff --git a/build/fq.hpp b/build/fq.hpp index ba51f5e..a955f13 100644 --- a/build/fq.hpp +++ b/build/fq.hpp @@ -6,6 +6,10 @@ #include #include +#ifdef __APPLE__ +#include // typedef unsigned int uint; +#endif // __APPLE__ + extern FqElement Fq_q; extern FqElement Fq_R2; extern FqElement Fq_R3; diff --git a/build/fr.hpp b/build/fr.hpp index 8c3b9a1..3c78ca5 100644 --- a/build/fr.hpp +++ b/build/fr.hpp @@ -6,6 +6,10 @@ #include #include +#ifdef __APPLE__ +#include // typedef unsigned int uint; +#endif // __APPLE__ + extern FrElement Fr_q; extern FrElement Fr_R2; extern FrElement Fr_R3;