Include dirfd for AIX too

From Anton Lundin
This commit is contained in:
Love Hornquist Astrand
2009-09-29 08:56:07 -07:00
parent 7fbe96b164
commit f7bde058ee

View File

@@ -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