Fix _ALL_SOURCE def to get working headers on AIX, From Ted Percival

git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24639 ec53bebd-3082-4978-b11e-865c3cabbd6b
This commit is contained in:
Love Hörnquist Åstrand
2009-02-07 04:06:53 +00:00
parent 12a7a9e488
commit 7e61cc4f3b
2 changed files with 9 additions and 6 deletions

View File

@@ -15,7 +15,7 @@ case "$host" in
esac
AM_CONDITIONAL(AIX, test "$aix" != no)dnl
AM_CONDITIONAL(AIX4, test "$aix" = 4)
AM_CONDITIONAL(AIX4, test "$aix" = 4)dnl
AC_ARG_ENABLE(dynamic-afs,
@@ -45,8 +45,11 @@ fi
AM_CONDITIONAL(AIX_DYNAMIC_AFS, test "$enable_dynamic_afs" != no)dnl
AC_SUBST(AIX_EXTRA_KAFS)dnl
if test "$aix" != no; then
AC_DEFINE([_ALL_SOURCE],1,[Required for functional/sane headers on AIX])
fi
AH_BOTTOM([#if _AIX
#define _ALL_SOURCE
/* XXX this is gross, but kills about a gazillion warnings */
struct ether_addr;
struct sockaddr;