diff --git a/lib/roken/roken.h.in b/lib/roken/roken.h.in index 45cefbe99..76b083c79 100644 --- a/lib/roken/roken.h.in +++ b/lib/roken/roken.h.in @@ -653,7 +653,7 @@ int rk_flock(int fd, int operation); #endif /* HAVE_FLOCK */ #ifndef HAVE_DIRFD -#ifdef HAVE_STRUCT_DIRENT_DD_FD +#ifdef HAVE_DIR_DD_FD #define dirfd(x) ((x)->dd_fd) #else #ifndef _WIN32 /* Windows code never calls dirfd */