diff --git a/lib/roken/roken.h.in b/lib/roken/roken.h.in index 2bd471736..f6d438098 100644 --- a/lib/roken/roken.h.in +++ b/lib/roken/roken.h.in @@ -476,7 +476,7 @@ unsigned short ROKEN_LIB_FUNCTION bswap16(unsigned short); int rk_flock(int fd, int operation); #endif /* HAVE_FLOCK */ -#ifdef SunOS +#if defined(SunOS) || defined(_AIX) #define dirfd(x) ((x)->dd_fd) #endif