Browse Source

[drivers] fix stdint issue in cputime

BernardXiong 3 years ago
parent
commit
3dc820b371
1 changed files with 2 additions and 0 deletions
  1. 2 0
      components/drivers/include/drivers/cputime.h

+ 2 - 0
components/drivers/include/drivers/cputime.h

@@ -11,6 +11,8 @@
 #ifndef CPUTIME_H__
 #define CPUTIME_H__
 
+#include <stdint.h>
+
 struct rt_clock_cputime_ops
 {
     float    (*cputime_getres) (void);