summaryrefslogtreecommitdiffstats
path: root/Compat.h
diff options
context:
space:
mode:
Diffstat (limited to 'Compat.h')
-rw-r--r--Compat.h10
1 files changed, 5 insertions, 5 deletions
diff --git a/Compat.h b/Compat.h
index fff437be..3b567736 100644
--- a/Compat.h
+++ b/Compat.h
@@ -50,10 +50,10 @@ int Compat_openat(openat_arg_t dirpath, const char* pathname, int flags);
#endif /* HAVE_OPENAT */
-int Compat_readlinkat(int dirfd,
- const char* dirpath,
- const char* pathname,
- char* buf,
- size_t bufsize);
+ssize_t Compat_readlinkat(int dirfd,
+ const char* dirpath,
+ const char* pathname,
+ char* buf,
+ size_t bufsize);
#endif /* HEADER_Compat */