summaryrefslogtreecommitdiff
path: root/src/ls.c
diff options
context:
space:
mode:
authorJim Meyering <jim@meyering.net>1993-04-22 03:16:53 +0000
committerJim Meyering <jim@meyering.net>1993-04-22 03:16:53 +0000
commitcff8d231ff42cdd533ba430a9a887bc856f9e44a (patch)
treefc545c6a22b5daf33f0a8511d0407e1f9d730d67 /src/ls.c
parentadcff142d8c2b5f7f8c08ff8cbcaf97d346af9b2 (diff)
downloadcoreutils-cff8d231ff42cdd533ba430a9a887bc856f9e44a.tar.xz
merge with 3.5
Diffstat (limited to 'src/ls.c')
-rw-r--r--src/ls.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/src/ls.c b/src/ls.c
index f90e4291c..2926eafac 100644
--- a/src/ls.c
+++ b/src/ls.c
@@ -43,8 +43,8 @@
#include <grp.h>
#include <pwd.h>
#include <getopt.h>
-#include <fnmatch.h>
#include "system.h"
+#include <fnmatch.h>
#include "version.h"
#ifndef S_IEXEC
@@ -58,9 +58,7 @@
#define longdiff(a, b) ((a) - (b))
#endif
-#ifdef STDC_HEADERS
-#include <time.h>
-#else
+#ifndef STDC_HEADERS
char *ctime ();
time_t time ();
#endif