Skip to content

Commit

Permalink
Proper build fix on Mac
Browse files Browse the repository at this point in the history
  • Loading branch information
OBrezhniev committed Aug 14, 2023
1 parent fc19a14 commit f2d6771
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 f2d6771

Please sign in to comment.