瀏覽代碼

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