aboutsummaryrefslogtreecommitdiff
path: root/src/cmd/ls.C
diff options
context:
space:
mode:
authorrsc <devnull@localhost>2005-07-13 03:52:48 +0000
committerrsc <devnull@localhost>2005-07-13 03:52:48 +0000
commit17cfc1dd5f1cf4a6f6752d4e94e76ccee020006c (patch)
treed5aac5b0f8a0218a0f87aab11f42783ab425ac35 /src/cmd/ls.C
parentd82651b8fd742fb5b55190190b6bf8751cc022e6 (diff)
downloadplan9port-17cfc1dd5f1cf4a6f6752d4e94e76ccee020006c.tar.gz
plan9port-17cfc1dd5f1cf4a6f6752d4e94e76ccee020006c.tar.bz2
plan9port-17cfc1dd5f1cf4a6f6752d4e94e76ccee020006c.zip
dirbuf is an extern on sun
Diffstat (limited to 'src/cmd/ls.C')
-rw-r--r--src/cmd/ls.C2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/cmd/ls.C b/src/cmd/ls.C
index 4423a877..f52fc8c9 100644
--- a/src/cmd/ls.C
+++ b/src/cmd/ls.C
@@ -2,6 +2,8 @@
#include <libc.h>
#include <bio.h>
+#define dirbuf p9dirbuf /* avoid conflict on sun */
+
typedef struct NDir NDir;
struct NDir
{