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 Mar 4, 2019
1 parent 9529089 commit abf086b
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 @@ -33,6 +33,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 abf086b

Please sign in to comment.