summaryrefslogtreecommitdiff
path: root/lib/replace/replace.h
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>2010-03-05 22:45:27 +1100
committerAndrew Tridgell <tridge@samba.org>2010-03-05 23:07:32 +1100
commitf3c738f8193665a80835471f6754a66b20725afa (patch)
tree75342ddb7379f317a72d46a4e9f19894ff89f0d6 /lib/replace/replace.h
parentace6d75ae6f953b76fa9709857af4744020cd6fb (diff)
downloadsamba-f3c738f8193665a80835471f6754a66b20725afa.tar.gz
samba-f3c738f8193665a80835471f6754a66b20725afa.tar.bz2
samba-f3c738f8193665a80835471f6754a66b20725afa.zip
replace: added get_current_dir_name()
Diffstat (limited to 'lib/replace/replace.h')
-rw-r--r--lib/replace/replace.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/lib/replace/replace.h b/lib/replace/replace.h
index a4ef231385..e7578cd60f 100644
--- a/lib/replace/replace.h
+++ b/lib/replace/replace.h
@@ -497,6 +497,11 @@ ssize_t rep_pwrite(int __fd, const void *__buf, size_t __nbytes, off_t __offset)
/* prototype is in "system/network.h" */
#endif
+#ifndef HAVE_GET_CURRENT_DIR_NAME
+#define get_current_dir_name rep_get_current_dir_name
+char *rep_get_current_dir_name(void);
+#endif
+
#ifdef HAVE_LIMITS_H
#include <limits.h>
#endif