summaryrefslogtreecommitdiff
path: root/coreutils
diff options
context:
space:
mode:
authorEric Andersen2001-02-20 06:16:29 +0000
committerEric Andersen2001-02-20 06:16:29 +0000
commitf1142c5b11ffadd18eb599c4915d755f3fe61953 (patch)
tree032ac0365b2865d31df73359bde42e8020575457 /coreutils
parentcbe31dace5fb24304694d399b9eb267fbe752516 (diff)
downloadbusybox-f1142c5b11ffadd18eb599c4915d755f3fe61953.zip
busybox-f1142c5b11ffadd18eb599c4915d755f3fe61953.tar.gz
Oops. Put time.h after busybox.h, so we can check for BB_FEATURE_LS_TIMESTAMPS
-Erik
Diffstat (limited to 'coreutils')
-rw-r--r--coreutils/ls.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/coreutils/ls.c b/coreutils/ls.c
index a619bb8..44bb8cd 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)