Explorar o código

Fixes for -Wundef

thanks Willy-JL
MX hai 1 ano
pai
achega
6905aebe4c

+ 1 - 0
lib/crypto/ed25519_donna/ed25519_donna_impl_base.c

@@ -1,6 +1,7 @@
 #include <assert.h>
 #include "ed25519_donna.h"
 #include "../memzero.h"
+#include "options.h"
 
 /* sqrt(x) is such an integer y that 0 <= y <= p - 1, y % 2 = 0, and y^2 = x (mod p). */
 /* d = -121665 / 121666 */

+ 2 - 0
lib/crypto/monero/base58.h

@@ -31,6 +31,8 @@
 // Parts of this file are originally copyright (c) 2012-2013 The Cryptonote
 // developers
 
+#include "options.h"
+
 #if USE_MONERO
 
 #ifndef __XMR_BASE58_H__

+ 2 - 0
lib/crypto/monero/serialize.c

@@ -2,6 +2,8 @@
 // Created by Dusan Klinec on 02/05/2018.
 //
 
+#include "options.h"
+
 #if USE_MONERO
 
 #include "serialize.h"

+ 2 - 0
lib/crypto/monero/xmr.c

@@ -2,6 +2,8 @@
 // Created by Dusan Klinec on 10/05/2018.
 //
 
+#include "options.h"
+
 #if USE_MONERO
 
 #include "xmr.h"