Преглед изворни кода

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