瀏覽代碼

fixed possible errors when using xil_cache.h

Wang-Huachen 4 年之前
父節點
當前提交
e029953bc0
共有 1 個文件被更改,包括 2 次插入0 次删除
  1. 2 0
      bsp/zynqmp-r5-axu4ev/drivers/Zynq_HAL_Driver/xil_cache.h

+ 2 - 0
bsp/zynqmp-r5-axu4ev/drivers/Zynq_HAL_Driver/xil_cache.h

@@ -1,6 +1,8 @@
 #ifndef XIL_CACHE_H
 #ifndef XIL_CACHE_H
 #define XIL_CACHE_H
 #define XIL_CACHE_H
 
 
+#include <rthw.h>
+
 #ifdef __cplusplus
 #ifdef __cplusplus
 extern "C" {
 extern "C" {
 #endif
 #endif