aboutsummaryrefslogtreecommitdiff
path: root/src/cmd/vac
diff options
context:
space:
mode:
authorrsc <devnull@localhost>2005-01-14 18:46:35 +0000
committerrsc <devnull@localhost>2005-01-14 18:46:35 +0000
commitcb98c6f8541314d566fe511dbd93ad37986d70e7 (patch)
treedb2f46115cb156cca43966eeccd93b615eab8c18 /src/cmd/vac
parent7ea6c4fcbedc5a8039ed91a4a5d77d7366109cd8 (diff)
downloadplan9port-cb98c6f8541314d566fe511dbd93ad37986d70e7.tar.gz
plan9port-cb98c6f8541314d566fe511dbd93ad37986d70e7.tar.bz2
plan9port-cb98c6f8541314d566fe511dbd93ad37986d70e7.zip
stupid sun
Diffstat (limited to 'src/cmd/vac')
-rw-r--r--src/cmd/vac/dat.h5
-rw-r--r--src/cmd/vac/vac.c1
2 files changed, 2 insertions, 4 deletions
diff --git a/src/cmd/vac/dat.h b/src/cmd/vac/dat.h
index ec15db4a..869ea7a2 100644
--- a/src/cmd/vac/dat.h
+++ b/src/cmd/vac/dat.h
@@ -1,10 +1,7 @@
typedef struct MetaBlock MetaBlock;
typedef struct MetaEntry MetaEntry;
-enum
-{
- MaxBlock = (1UL<<31),
-};
+#define MaxBlock (1UL<<31)
enum {
BytesPerEntry = 100, /* estimate of bytes per dir entries - determines number of index entries in the block */
diff --git a/src/cmd/vac/vac.c b/src/cmd/vac/vac.c
index 53a66beb..761310b9 100644
--- a/src/cmd/vac/vac.c
+++ b/src/cmd/vac/vac.c
@@ -1,3 +1,4 @@
+#include <u.h>
#include <sys/stat.h>
#include "stdinc.h"
#include "vac.h"