diff options
| author | BernardXiong <[email protected]> | 2021-09-11 18:09:22 +0800 |
|---|---|---|
| committer | BernardXiong <[email protected]> | 2021-09-11 18:09:22 +0800 |
| commit | 0b13409c16326f142597570b50bdea8e138da606 (patch) | |
| tree | 94b1a099edaf910a332dac3e988f22ed85613ba0 /components/drivers | |
| parent | 3dc820b3717637c4b2a54f12ab09f64037e97e9f (diff) | |
[BSP] fix compiling issue with libc
Diffstat (limited to 'components/drivers')
| -rw-r--r-- | components/drivers/include/drivers/pm.h | 1 | ||||
| -rw-r--r-- | components/drivers/phy/phy.c | 2 |
2 files changed, 2 insertions, 1 deletions
diff --git a/components/drivers/include/drivers/pm.h b/components/drivers/include/drivers/pm.h index 51bff54ebb..d38c0a4e2a 100644 --- a/components/drivers/include/drivers/pm.h +++ b/components/drivers/include/drivers/pm.h @@ -15,6 +15,7 @@ #ifndef __PM_H__ #define __PM_H__ +#include <stdint.h> #include <rtthread.h> #ifndef PM_HAS_CUSTOM_CONFIG diff --git a/components/drivers/phy/phy.c b/components/drivers/phy/phy.c index 6d408ce612..87152a306e 100644 --- a/components/drivers/phy/phy.c +++ b/components/drivers/phy/phy.c @@ -8,7 +8,7 @@ * Date Author Notes * 2020-09-27 wangqiang first version */ - +#include <stddef.h> #include <rthw.h> #include <rtthread.h> #include <rtdevice.h> |
