diff options
author | agc <agc@pkgsrc.org> | 1997-10-09 14:48:33 +0000 |
---|---|---|
committer | agc <agc@pkgsrc.org> | 1997-10-09 14:48:33 +0000 |
commit | c273f936d2200bb66d52b6320e6db561a6830c87 (patch) | |
tree | 13303594d8951c465238527f9a0d206dc8daca01 /plan9 | |
parent | 1b4219d1674653bd526c71a3d87b2e49a8882d5a (diff) | |
download | pkgsrc-c273f936d2200bb66d52b6320e6db561a6830c87.tar.gz |
Shut up a compiler warning - only define NOFILE if it's not defined
elsewhere.
Diffstat (limited to 'plan9')
-rw-r--r-- | plan9/sam/patches/patch-ag | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/plan9/sam/patches/patch-ag b/plan9/sam/patches/patch-ag new file mode 100644 index 00000000000..e946bab2bbd --- /dev/null +++ b/plan9/sam/patches/patch-ag @@ -0,0 +1,14 @@ +*** sam/io.c 1997/10/01 08:25:28 1.1 +--- sam/io.c 1997/10/01 08:25:59 +*************** +*** 2,8 **** +--- 2,10 ---- + #include "sam.h" + + #define NSYSFILE 3 ++ #ifndef NOFILE + #define NOFILE 128 ++ #endif + + void + checkqid(File *f) |