Fix to build on aix.

Signed-off-by: Love Hornquist Astrand <lha@h5l.org>
This commit is contained in:
Anton Lundin
2010-09-17 12:42:39 +02:00
committed by Love Hornquist Astrand
parent 61bfc2997b
commit 057f139f6a

View File

@@ -34,6 +34,13 @@
#include "push_locl.h" #include "push_locl.h"
RCSID("$Id$"); RCSID("$Id$");
#if defined(_AIX) && defined(STAT)
/*
* AIX defines STAT to 1 in sys/dir.h
*/
# undef STAT
#endif
#ifdef KRB5 #ifdef KRB5
static int use_v5 = -1; static int use_v5 = -1;
static krb5_context context; static krb5_context context;