diff options
author | Cameron Katri <me@cameronkatri.com> | 2021-05-10 09:13:28 -0400 |
---|---|---|
committer | Cameron Katri <me@cameronkatri.com> | 2021-05-10 09:13:28 -0400 |
commit | ad3d9102dbec58bdd72fffe933081e8d258e962d (patch) | |
tree | 32f91557fb89a7ca44116a828cf25b64e95925fd /file_cmds/ls | |
parent | f6684a2134ecc4959011955e89abb6103dd2eb2f (diff) | |
download | apple_cmds-ad3d9102dbec58bdd72fffe933081e8d258e962d.tar.gz apple_cmds-ad3d9102dbec58bdd72fffe933081e8d258e962d.tar.zst apple_cmds-ad3d9102dbec58bdd72fffe933081e8d258e962d.zip |
file_cmds: mtree probably won't work, but it does compile
Diffstat (limited to 'file_cmds/ls')
-rw-r--r-- | file_cmds/ls/Makefile | 6 | ||||
-rw-r--r-- | file_cmds/ls/ls.c | 1 |
2 files changed, 6 insertions, 1 deletions
diff --git a/file_cmds/ls/Makefile b/file_cmds/ls/Makefile new file mode 100644 index 0000000..8edb47a --- /dev/null +++ b/file_cmds/ls/Makefile @@ -0,0 +1,6 @@ +PROG= ls +SRCS= cmp.c ls.c print.c util.c + +LDADD=-lutil + +.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__ */ |