ソースを参照

Merge pull request #5291 from kaleb-himes/FRDM-K64-Fixes

Add necessary includes for cross-builds
David Garske 1 年間 前
コミット
741393e84f

+ 1 - 0
IDE/ROWLEY-CROSSWORKS-ARM/benchmark_main.c

@@ -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;

+ 2 - 0
wolfcrypt/benchmark/benchmark.h

@@ -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);