aboutsummaryrefslogtreecommitdiff
path: root/tools/sunxi_toc0.c
diff options
context:
space:
mode:
Diffstat (limited to 'tools/sunxi_toc0.c')
-rw-r--r--tools/sunxi_toc0.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/tools/sunxi_toc0.c b/tools/sunxi_toc0.c
index 58a6e7a..bab5d17 100644
--- a/tools/sunxi_toc0.c
+++ b/tools/sunxi_toc0.c
@@ -4,6 +4,8 @@
* (C) Copyright 2020-2021 Samuel Holland <samuel@sholland.org>
*/
+#define OPENSSL_API_COMPAT 0x10101000L
+
#include <assert.h>
#include <stdint.h>
#include <stdio.h>
@@ -11,6 +13,7 @@
#include <string.h>
#include <openssl/asn1t.h>
+#include <openssl/bn.h>
#include <openssl/pem.h>
#include <openssl/rsa.h>