aboutsummaryrefslogtreecommitdiffstats
path: root/file_cmds/ls
diff options
context:
space:
mode:
Diffstat (limited to 'file_cmds/ls')
-rw-r--r--file_cmds/ls/Makefile10
-rw-r--r--file_cmds/ls/ls.c1
2 files changed, 10 insertions, 1 deletions
diff --git a/file_cmds/ls/Makefile b/file_cmds/ls/Makefile
new file mode 100644
index 0000000..2872cbe
--- /dev/null
+++ b/file_cmds/ls/Makefile
@@ -0,0 +1,10 @@
+PROG= ls
+SRCS= cmp.c ls.c print.c util.c
+
+CFLAGS+=-DCOLORLS
+
+LDADD=-lutil -lncursesw
+
+BINDIR=/bin
+
+.include <bsd.prog.mk>
diff --git a/file_cmds/ls/ls.c b/file_cmds/ls/ls.c
index e079333..50fb91c 100644
--- a/file_cmds/ls/ls.c
+++ b/file_cmds/ls/ls.c
@@ -75,7 +75,6 @@ __RCSID("$FreeBSD: src/bin/ls/ls.c,v 1.66 2002/09/21 01:28:36 wollman Exp $");
#include <sys/param.h>
#include <get_compat.h>
#include <sys/sysctl.h>
-#include <System/sys/fsctl.h>
#else
#define COMPAT_MODE(a,b) (1)
#endif /* __APPLE__ */