aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEric Andersen <andersen@codepoet.org>2001-02-20 06:16:29 +0000
committerEric Andersen <andersen@codepoet.org>2001-02-20 06:16:29 +0000
commitf1142c5b11ffadd18eb599c4915d755f3fe61953 (patch)
tree032ac0365b2865d31df73359bde42e8020575457
parentcbe31dace5fb24304694d399b9eb267fbe752516 (diff)
downloadbusybox-f1142c5b11ffadd18eb599c4915d755f3fe61953.tar.gz
Oops. Put time.h after busybox.h, so we can check for BB_FEATURE_LS_TIMESTAMPS
-Erik
-rw-r--r--coreutils/ls.c8
-rw-r--r--ls.c8
2 files changed, 8 insertions, 8 deletions
diff --git a/coreutils/ls.c b/coreutils/ls.c
index a619bb8b2..44bb8cddb 100644
--- a/coreutils/ls.c
+++ b/coreutils/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)
diff --git a/ls.c b/ls.c
index a619bb8b2..44bb8cddb 100644
--- 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)