Oops. Put time.h after busybox.h, so we can check for BB_FEATURE_LS_TIMESTAMPS
authorEric Andersen <andersen@codepoet.org>
Tue, 20 Feb 2001 06:16:29 +0000 (06:16 -0000)
committerEric Andersen <andersen@codepoet.org>
Tue, 20 Feb 2001 06:16:29 +0000 (06:16 -0000)
 -Erik

coreutils/ls.c
ls.c

index a619bb8b27f50efebacecf86e88375200e67bee4..44bb8cddbdc565921105637360406c4914d26609 100644 (file)
@@ -57,17 +57,17 @@ enum {
 #include <dirent.h>
 #include <errno.h>
 #include <stdio.h>
-#ifdef BB_FEATURE_LS_TIMESTAMPS
-#include <time.h>
-#endif
 #include <string.h>
 #include <stdlib.h>
-
 #include <fcntl.h>
 #include <signal.h>
 #include <sys/ioctl.h>
 #include "busybox.h"
 
+#ifdef BB_FEATURE_LS_TIMESTAMPS
+#include <time.h>
+#endif
+
 #ifndef MAJOR
 #define MAJOR(dev) (((dev)>>8)&0xff)
 #define MINOR(dev) ((dev)&0xff)
diff --git a/ls.c b/ls.c
index a619bb8b27f50efebacecf86e88375200e67bee4..44bb8cddbdc565921105637360406c4914d26609 100644 (file)
--- a/ls.c
+++ b/ls.c
@@ -57,17 +57,17 @@ enum {
 #include <dirent.h>
 #include <errno.h>
 #include <stdio.h>
-#ifdef BB_FEATURE_LS_TIMESTAMPS
-#include <time.h>
-#endif
 #include <string.h>
 #include <stdlib.h>
-
 #include <fcntl.h>
 #include <signal.h>
 #include <sys/ioctl.h>
 #include "busybox.h"
 
+#ifdef BB_FEATURE_LS_TIMESTAMPS
+#include <time.h>
+#endif
+
 #ifndef MAJOR
 #define MAJOR(dev) (((dev)>>8)&0xff)
 #define MINOR(dev) ((dev)&0xff)