summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--lib/replace/replace.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/replace/replace.h b/lib/replace/replace.h
index 8483d934d8..c1444cd5ee 100644
--- a/lib/replace/replace.h
+++ b/lib/replace/replace.h
@@ -232,7 +232,7 @@ int rep_link(const char *oldpath, const char *newpath);
#ifndef HAVE_READLINK
#define readlink rep_readlink
-int rep_readlink(const char *path, char *buf, size_t bufsize);
+ssize_t rep_readlink(const char *path, char *buf, size_t bufsize);
#endif
#ifndef HAVE_SYMLINK