Add necessary includes for cross-builds

This commit is contained in:
kaleb-himes
2022-06-27 13:50:27 -06:00
parent 94e7eacc5f
commit 9d11e9092f
2 changed files with 3 additions and 0 deletions

View File

@@ -28,6 +28,7 @@
#include <wolfssl/wolfcrypt/wc_port.h>
#include <wolfcrypt/benchmark/benchmark.h>
#include <stdio.h>
#include "hw.h" /* Needed for 'delay_us' prototype */
typedef struct func_args {
int argc;

View File

@@ -28,6 +28,8 @@
extern "C" {
#endif
#include <wolfssl/wolfcrypt/types.h> /* Needed for 'byte' typedef */
/* run all benchmark entry */
#ifdef HAVE_STACK_SIZE
THREAD_RETURN WOLFSSL_THREAD benchmark_test(void* args);