浏览代码

Add <stddef.h> to uarths.h to fix error

Fix size_t undefined error in gcc8.2

Signed-off-by: Huang Rui <vowstar@gmail.com>
Huang Rui 7 年之前
父节点
当前提交
baba3df044
共有 1 个文件被更改,包括 1 次插入0 次删除
  1. 1 0
      lib/drivers/include/uarths.h

+ 1 - 0
lib/drivers/include/uarths.h

@@ -48,6 +48,7 @@
 #ifndef _DRIVER_UARTHS_H
 #define _DRIVER_UARTHS_H
 
+#include <stddef.h>
 #include <stdint.h>
 #include "platform.h"
 #include "plic.h"