Fix to build on aix.
authorAnton Lundin <glance@acc.umu.se>
Fri, 17 Sep 2010 10:42:39 +0000 (12:42 +0200)
committerLove Hornquist Astrand <lha@h5l.org>
Fri, 17 Sep 2010 19:21:58 +0000 (12:21 -0700)
Signed-off-by: Love Hornquist Astrand <lha@h5l.org>
appl/push/push.c

index d65276c7c78b6884c697b022594347e02e1d5212..c2d6c166f275df0e5340039faad6dc53c43a05bc 100644 (file)
 #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;