summaryrefslogtreecommitdiffstats
path: root/gnu/usr.bin/cvs/diff/system.h
diff options
context:
space:
mode:
authortholo <tholo@openbsd.org>2001-09-28 22:45:35 +0000
committertholo <tholo@openbsd.org>2001-09-28 22:45:35 +0000
commit43c1707e6f6829177cb1974ee6615ce6c1307689 (patch)
tree233c059b44960ac679320e3e905b66e024ba011f /gnu/usr.bin/cvs/diff/system.h
parentHack to work around bootpaths like: (diff)
downloadwireguard-openbsd-43c1707e6f6829177cb1974ee6615ce6c1307689.tar.xz
wireguard-openbsd-43c1707e6f6829177cb1974ee6615ce6c1307689.zip
Latest from Cyclic Software
Diffstat (limited to 'gnu/usr.bin/cvs/diff/system.h')
-rw-r--r--gnu/usr.bin/cvs/diff/system.h13
1 files changed, 13 insertions, 0 deletions
diff --git a/gnu/usr.bin/cvs/diff/system.h b/gnu/usr.bin/cvs/diff/system.h
index 76bc1631fee..f5037ecf70a 100644
--- a/gnu/usr.bin/cvs/diff/system.h
+++ b/gnu/usr.bin/cvs/diff/system.h
@@ -269,3 +269,16 @@ extern int errno;
*(q)++ = '\''; \
}
#endif
+
+/* these come from CVS's lib/system.h, but I wasn't sure how to include that
+ * properly or even if I really should
+ */
+#ifndef CVS_OPENDIR
+#define CVS_OPENDIR opendir
+#endif
+#ifndef CVS_READDIR
+#define CVS_READDIR readdir
+#endif
+#ifndef CVS_CLOSEDIR
+#define CVS_CLOSEDIR closedir
+#endif