about summary refs log tree commit diff
path: root/src/time
diff options
context:
space:
mode:
Diffstat (limited to 'src/time')
-rw-r--r--src/time/asctime_r.c1
-rw-r--r--src/time/clock_gettime.c1
-rw-r--r--src/time/clock_nanosleep.c1
-rw-r--r--src/time/gmtime_r.c1
-rw-r--r--src/time/localtime_r.c2
-rw-r--r--src/time/nanosleep.c1
-rw-r--r--src/time/strftime.c1
-rw-r--r--src/time/wcsftime.c1
8 files changed, 1 insertions, 8 deletions
diff --git a/src/time/asctime_r.c b/src/time/asctime_r.c
index af2618de..26809ca2 100644
--- a/src/time/asctime_r.c
+++ b/src/time/asctime_r.c
@@ -3,7 +3,6 @@
 #include <langinfo.h>
 #include "locale_impl.h"
 #include "atomic.h"
-#include "libc.h"
 
 char *__asctime_r(const struct tm *restrict tm, char *restrict buf)
 {
diff --git a/src/time/clock_gettime.c b/src/time/clock_gettime.c
index c24fe173..8fd1b8f5 100644
--- a/src/time/clock_gettime.c
+++ b/src/time/clock_gettime.c
@@ -2,7 +2,6 @@
 #include <errno.h>
 #include <stdint.h>
 #include "syscall.h"
-#include "libc.h"
 #include "atomic.h"
 
 #ifdef VDSO_CGT_SYM
diff --git a/src/time/clock_nanosleep.c b/src/time/clock_nanosleep.c
index 9e4d9f1f..32f0c07e 100644
--- a/src/time/clock_nanosleep.c
+++ b/src/time/clock_nanosleep.c
@@ -1,7 +1,6 @@
 #include <time.h>
 #include <errno.h>
 #include "syscall.h"
-#include "libc.h"
 
 int clock_nanosleep(clockid_t clk, int flags, const struct timespec *req, struct timespec *rem)
 {
diff --git a/src/time/gmtime_r.c b/src/time/gmtime_r.c
index e529799b..22aec2c2 100644
--- a/src/time/gmtime_r.c
+++ b/src/time/gmtime_r.c
@@ -1,6 +1,5 @@
 #include "time_impl.h"
 #include <errno.h>
-#include "libc.h"
 
 struct tm *__gmtime_r(const time_t *restrict t, struct tm *restrict tm)
 {
diff --git a/src/time/localtime_r.c b/src/time/localtime_r.c
index 2e62c29f..1a15b314 100644
--- a/src/time/localtime_r.c
+++ b/src/time/localtime_r.c
@@ -1,6 +1,6 @@
 #include "time_impl.h"
 #include <errno.h>
-#include "libc.h"
+#include <limits.h>
 
 struct tm *__localtime_r(const time_t *restrict t, struct tm *restrict tm)
 {
diff --git a/src/time/nanosleep.c b/src/time/nanosleep.c
index a2ff4839..1e6f3922 100644
--- a/src/time/nanosleep.c
+++ b/src/time/nanosleep.c
@@ -1,6 +1,5 @@
 #include <time.h>
 #include "syscall.h"
-#include "libc.h"
 
 int nanosleep(const struct timespec *req, struct timespec *rem)
 {
diff --git a/src/time/strftime.c b/src/time/strftime.c
index ba18a27c..cc53d536 100644
--- a/src/time/strftime.c
+++ b/src/time/strftime.c
@@ -6,7 +6,6 @@
 #include <time.h>
 #include <limits.h>
 #include "locale_impl.h"
-#include "libc.h"
 #include "time_impl.h"
 
 static int is_leap(int y)
diff --git a/src/time/wcsftime.c b/src/time/wcsftime.c
index 31b30caf..8e1437b3 100644
--- a/src/time/wcsftime.c
+++ b/src/time/wcsftime.c
@@ -3,7 +3,6 @@
 #include <locale.h>
 #include "locale_impl.h"
 #include "time_impl.h"
-#include "libc.h"
 
 size_t __wcsftime_l(wchar_t *restrict s, size_t n, const wchar_t *restrict f, const struct tm *restrict tm, locale_t loc)
 {