aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'src/canonicalize.c')
-rw-r--r--src/canonicalize.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/canonicalize.c b/src/canonicalize.c
index 9ae002f..68737d9 100644
--- a/src/canonicalize.c
+++ b/src/canonicalize.c
@@ -21,6 +21,7 @@
* $Header$
*/
+#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <unistd.h>
@@ -37,6 +38,8 @@
# define __set_errno(val) errno = (val)
#endif
+extern char *egetcwd(char *, size_t);
+
/* Return the canonical absolute name of file NAME. A canonical name
does not contain any `.', `..' components nor any repeated path
separators ('/') or symlinks. All path components must exist. If
@@ -56,7 +59,7 @@
*
*/
-SB_STATIC char *
+char *
erealpath(const char *name, char *resolved)
{
char *rpath, *dest;