summaryrefslogtreecommitdiff
path: root/plan9/sam
diff options
context:
space:
mode:
authoragc <agc>1997-10-09 14:48:33 +0000
committeragc <agc>1997-10-09 14:48:33 +0000
commit36145af352eee4c0cc6c0914b9d531015c1b41ec (patch)
tree13303594d8951c465238527f9a0d206dc8daca01 /plan9/sam
parentb99c1d35553dc88d53f7dab98498152c87be57f0 (diff)
downloadpkgsrc-36145af352eee4c0cc6c0914b9d531015c1b41ec.tar.gz
Shut up a compiler warning - only define NOFILE if it's not defined
elsewhere.
Diffstat (limited to 'plan9/sam')
-rw-r--r--plan9/sam/patches/patch-ag14
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)