Add necessary includes for cross-builds
@@ -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;
@@ -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);