From 31e39fc85815fd0fd57e004f5df773e9608fe52e Mon Sep 17 00:00:00 2001 From: Anton Lundin Date: Fri, 17 Sep 2010 12:42:39 +0200 Subject: [PATCH] Fix to build on aix. Signed-off-by: Love Hornquist Astrand --- appl/push/push.c | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/appl/push/push.c b/appl/push/push.c index d65276c7c..c2d6c166f 100644 --- a/appl/push/push.c +++ b/appl/push/push.c @@ -34,6 +34,13 @@ #include "push_locl.h" RCSID("$Id$"); +#if defined(_AIX) && defined(STAT) +/* + * AIX defines STAT to 1 in sys/dir.h + */ +# undef STAT +#endif + #ifdef KRB5 static int use_v5 = -1; static krb5_context context; -- 2.11.4.GIT