From 62fd9d0b36d8f56a002ea88621b2f895ea55abb8 Mon Sep 17 00:00:00 2001 From: Rob Landley Date: Sat, 1 Dec 2012 17:59:38 -0600 Subject: Fix ancient glibc workaround to force fstatat64 --- lib/portability.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'lib/portability.h') diff --git a/lib/portability.h b/lib/portability.h index 4903de11..859a57cf 100644 --- a/lib/portability.h +++ b/lib/portability.h @@ -44,7 +44,8 @@ ssize_t getdelim(char **lineptr, size_t *n, int delim, FILE *stream); #define AT_FDCWD -100 #define AT_SYMLINK_NOFOLLOW 0x100 #define AT_REMOVEDIR 0x200 -int fstatat(int dirfd, const char *pathname, void *buf, int flags); +#define fstatat fstatat64 +int fstatat64(int dirfd, const char *pathname, void *buf, int flags); int readlinkat(int dirfd, const char *pathname, char *buf, size_t bufsiz); char *stpcpy(char *dest, const char *src); #include -- cgit v1.2.3