Skip to content

Commit

Permalink
Include stdio.h and stdlib.h explicitly in secp256k1.c
Browse files Browse the repository at this point in the history
  • Loading branch information
real-or-random committed May 26, 2019
1 parent 5db782e commit 908bdce
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/secp256k1.c
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,8 @@
} while(0)

#ifndef USE_EXTERNAL_DEFAULT_CALLBACKS
#include <stdlib.h>
#include <stdio.h>
static void default_illegal_callback_fn(const char* str, void* data) {
(void)data;
fprintf(stderr, "[libsecp256k1] illegal argument: %s\n", str);
Expand Down

0 comments on commit 908bdce

Please sign in to comment.