Include stdio.h and stdlib.h explicitly in secp256k1.c

This commit is contained in:
Tim Ruffing 2019-03-04 16:11:35 +01:00
parent 5db782e655
commit 908bdce64e
1 changed files with 2 additions and 0 deletions

View File

@ -34,6 +34,8 @@
} while(0) } while(0)
#ifndef USE_EXTERNAL_DEFAULT_CALLBACKS #ifndef USE_EXTERNAL_DEFAULT_CALLBACKS
#include <stdlib.h>
#include <stdio.h>
static void default_illegal_callback_fn(const char* str, void* data) { static void default_illegal_callback_fn(const char* str, void* data) {
(void)data; (void)data;
fprintf(stderr, "[libsecp256k1] illegal argument: %s\n", str); fprintf(stderr, "[libsecp256k1] illegal argument: %s\n", str);