summaryrefslogtreecommitdiffstats
path: root/bsd-realpath.h
diff options
context:
space:
mode:
authorBen Lindstrom <mouring@eviladmin.org>2000-10-15 00:17:36 +0000
committerBen Lindstrom <mouring@eviladmin.org>2000-10-15 00:17:36 +0000
commitb4df15d1e119994ad1f3e73c1283414d2eb30a5f (patch)
tree6d1c4e98fd54fb3a4c22210508dbfbf89acb883e /bsd-realpath.h
parentca1c2a0bac6e3ceab5c232ab800a1085db346144 (diff)
- (bal) Add support for realpath and getcwd for platforms with broken
or missing realpath implementations for sftp-server. - (bal) Corrected mistake in INSTALL in regards to GNU rx library
Diffstat (limited to 'bsd-realpath.h')
-rw-r--r--bsd-realpath.h11
1 files changed, 11 insertions, 0 deletions
diff --git a/bsd-realpath.h b/bsd-realpath.h
new file mode 100644
index 00000000..dc3579dd
--- /dev/null
+++ b/bsd-realpath.h
@@ -0,0 +1,11 @@
+#ifndef _BSD_REALPATH_H
+#define _BSD_REALPATH_H
+
+#include "config.h"
+
+#if !defined(HAVE_REALPATH) || defined(BROKEN_REALPATH)
+
+char *realpath(const char *path, char *resolved);
+
+#endif /* !defined(HAVE_REALPATH) || defined(BROKEN_REALPATH) */
+#endif /* _BSD_REALPATH_H */