From 7abec2f1342986bc82385e8fc3c775d58022e3a1 Mon Sep 17 00:00:00 2001 From: Tim Ruffing Date: Mon, 4 Mar 2019 16:11:35 +0100 Subject: [PATCH] Include stdio.h and stdlib.h explicitly in secp256k1.c --- src/secp256k1.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/secp256k1.c b/src/secp256k1.c index fcdad3d3c2..47aa6d44fd 100644 --- a/src/secp256k1.c +++ b/src/secp256k1.c @@ -33,6 +33,8 @@ } while(0) #ifndef USE_EXTERNAL_DEFAULT_CALLBACKS +#include +#include static void default_illegal_callback_fn(const char* str, void* data) { (void)data; fprintf(stderr, "[libsecp256k1] illegal argument: %s\n", str);