From 36145af352eee4c0cc6c0914b9d531015c1b41ec Mon Sep 17 00:00:00 2001 From: agc Date: Thu, 9 Oct 1997 14:48:33 +0000 Subject: Shut up a compiler warning - only define NOFILE if it's not defined elsewhere. --- plan9/sam/patches/patch-ag | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 plan9/sam/patches/patch-ag (limited to 'plan9/sam') 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) -- cgit v1.2.3