Skip to content

Commit

Permalink
Merge pull request #5 from idyllicvision/main
Browse files Browse the repository at this point in the history
Proper build fix on Mac
  • Loading branch information
olomix authored Oct 3, 2023
2 parents fc19a14 + f2d6771 commit 3b7cad9
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 0 deletions.
4 changes: 4 additions & 0 deletions build/fq.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,10 @@
#include <string>
#include <gmp.h>

#ifdef __APPLE__
#include <sys/types.h> // typedef unsigned int uint;
#endif // __APPLE__

extern FqElement Fq_q;
extern FqElement Fq_R2;
extern FqElement Fq_R3;
Expand Down
4 changes: 4 additions & 0 deletions build/fr.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,10 @@
#include <string>
#include <gmp.h>

#ifdef __APPLE__
#include <sys/types.h> // typedef unsigned int uint;
#endif // __APPLE__

extern FrElement Fr_q;
extern FrElement Fr_R2;
extern FrElement Fr_R3;
Expand Down

0 comments on commit 3b7cad9

Please sign in to comment.