From f7bde058eed9689fd50e29a442707cc8ad4dc8fe Mon Sep 17 00:00:00 2001 From: Love Hornquist Astrand Date: Tue, 29 Sep 2009 08:56:07 -0700 Subject: [PATCH] Include dirfd for AIX too From Anton Lundin --- lib/roken/roken.h.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- 2.11.4.GIT