darwin build can't compile util/et test program
authorKen Raeburn <raeburn@mit.edu>
Fri, 4 Jul 2003 20:49:06 +0000 (20:49 +0000)
committerKen Raeburn <raeburn@mit.edu>
Fri, 4 Jul 2003 20:49:06 +0000 (20:49 +0000)
commit560431b781bf79c7cdf0b1d5df14023811189910
tree3d342a70a9576c0f8e853ab0cd247afe5e1d1629
parent4e16a7cedbd9d5a545462701552e8c227d4252a2
darwin build can't compile util/et test program

The autoconf tests correctly determine that sys_nerr exists, and that
no declaration is needed.  The test_et.c code checks the wrong condition,
though, and the system header declaration of sys_nerr conflicts with the
one in that source file.  (The native one is const.)

* test_et.c: Conditionalize sys_nerr declaration on NEED_SYS_ERRLIST, not
HAVE_SYS_ERRLIST.

ticket: new

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@15670 dc483132-0cff-0310-8789-dd5450dbe970
src/util/et/ChangeLog
src/util/et/test_et.c