From d043013fea859f5eb6f677cad28319d093f1dbda Mon Sep 17 00:00:00 2001 From: Chris Young Date: Thu, 14 Jun 2012 19:09:42 +0100 Subject: More changes resulting from pull request --- src/posix.h | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'src/posix.h') diff --git a/src/posix.h b/src/posix.h index cc35c52e3..d423b7e07 100644 --- a/src/posix.h +++ b/src/posix.h @@ -84,9 +84,10 @@ extern int p_gettimeofday(struct timeval *tv, struct timezone *tz); #endif #ifndef NO_READDIR_R -#define p_readdir_r(d,e,r) readdir_r(d,e,&r) +#define p_readdir_r(d,e,r) readdir_r(d,e,r) #else -GIT_INLINE(int) p_readdir_r(DIR *dirp, struct dirent *entry, struct direct **result) +#include +GIT_INLINE(int) p_readdir_r(DIR *dirp, struct dirent *entry, struct dirent **result) { GIT_UNUSED(entry); *result = readdir(dirp); -- cgit v1.2.1