Commit 6c35dd7e112d7295b7eb3029454d06a9d4969212

Joachim Breitner 2019-07-15T12:15:10

Import stddef in tommath.h At least here (compiling for WebAssembly (`wasm32-unknown-unknown-wasm`), I need this, otherwise `size_t` is not available.

1
2
3
4
5
6
7
8
9
10
11
12
diff --git a/tommath.h b/tommath.h
index ef7db3a..2af9072 100644
--- a/tommath.h
+++ b/tommath.h
@@ -5,6 +5,7 @@
 #define BN_H_
 
 #include <stdint.h>
+#include <stddef.h>
 #include <limits.h>
 
 #ifdef LTM_NO_FILE