Skip to content

Commit 908bdce

Browse files
Include stdio.h and stdlib.h explicitly in secp256k1.c
1 parent 5db782e commit 908bdce

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/secp256k1.c

+2
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,8 @@
3434
} while(0)
3535

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

0 commit comments

Comments
 (0)