diff --git a/src/color.c b/src/color.c
index 1e965ac190236584d4ecb5c2de40c8b3268e732d..4793974cfbd7b337631df1de607466ed0ff33a43 100644
--- a/src/color.c
+++ b/src/color.c
@@ -24,7 +24,6 @@
 #include <stdio.h>
 #include <string.h>
 #include <errno.h>
-#include <time.h>
 #include <unistd.h>
 
 #ifdef HAVE_MAGIC_H
diff --git a/src/files.c b/src/files.c
index b72d644250eeeb24221cc4d736239ecb4e730622..529ed362ec6ad756b49980a08397c8d6bcc99d8d 100644
--- a/src/files.c
+++ b/src/files.c
@@ -25,7 +25,6 @@
 #include <stdio.h>
 #include <string.h>
 #include <unistd.h>
-#include <utime.h>
 #include <fcntl.h>
 #include <errno.h>
 #include <ctype.h>