From af7a358416b348a4e33dc616f06f548fff6dfd10 Mon Sep 17 00:00:00 2001 From: erik Date: Fri, 24 Mar 2000 00:54:46 +0000 Subject: The new tar for busybox is now done, and works just fine for extracting files. Creation of tarballs is next... -Erik git-svn-id: svn://busybox.net/trunk/busybox@421 69ca8d6d-28ef-0310-b511-8ec308f3f277 --- ls.c | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'ls.c') diff --git a/ls.c b/ls.c index c4856cb71..3e010503c 100644 --- a/ls.c +++ b/ls.c @@ -90,6 +90,11 @@ #define DISP_DIRNAME 128 /* show directory name (for internal use) */ #define DIR_RECURSE 256 /* -R (not yet implemented) */ +#ifndef MAJOR +#define MAJOR(dev) (((dev)>>8)&0xff) +#define MINOR(dev) ((dev)&0xff) +#endif + static unsigned char display_fmt = FMT_AUTO; static unsigned short opts = 0; static unsigned short column = 0; -- cgit v1.2.3-55-g6feb