summaryrefslogtreecommitdiff
path: root/plan9
diff options
context:
space:
mode:
authoragc <agc>1997-10-09 14:48:33 +0000
committeragc <agc>1997-10-09 14:48:33 +0000
commitee17b3e7207c9cad38860dd8351d3dbde0837b0a (patch)
tree13303594d8951c465238527f9a0d206dc8daca01 /plan9
parent4e1108fe736fd5ca6b8a6dd2c0e033041b9f3000 (diff)
downloadpkgsrc-ee17b3e7207c9cad38860dd8351d3dbde0837b0a.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-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)