Browse Source

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

Manuel Novoa III 23 năm trước cách đây
mục cha
commit
3b913463b9
1 tập tin đã thay đổi với 1 bổ sung2 xóa
  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