mysterywolf 4 years ago
parent
commit
e5b10628ee
1 changed files with 1 additions and 2 deletions
  1. 1 2
      components/libc/compilers/common/sys/time.h

+ 1 - 2
components/libc/compilers/common/sys/time.h

@@ -36,8 +36,7 @@ struct timeval {
 };
 #endif /* _TIMEVAL_DEFINED */
 
-#ifndef _TIMESPEC
-#define _TIMESPEC
+#ifndef __GNUC__
 struct timespec {
     time_t  tv_sec;     /* seconds */
     long    tv_nsec;    /* and nanoseconds */