소스 검색

And apparently some things include sys/time.h instead of time.h in uClibc...

Manuel Novoa III 23 년 전
부모
커밋
3b913463b9
1개의 변경된 파일1개의 추가작업 그리고 2개의 파일을 삭제
  1. 1 2
      include/sys/time.h

+ 1 - 2
include/sys/time.h

@@ -21,8 +21,6 @@
 
 #include <features.h>
 
-#include <time.h>
-
 /* POSIX.4 structure for a time value.  This is like a `struct timeval' but
    has nanoseconds instead of microseconds.  */
 struct timespec
@@ -31,6 +29,7 @@ struct timespec
     long int tv_nsec;		/* Nanoseconds.  */
   };
 
+#include <time.h>
 #include <sys/select.h>
 
 #define __need_timeval