add a kludge to make it build on aix (that defines NOERROR in both

sys/stream.h and arpa/nameser.h and considers that a fatal error)


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@10712 ec53bebd-3082-4978-b11e-865c3cabbd6b
This commit is contained in:
Assar Westerlund
2001-09-17 02:09:04 +00:00
parent 7017832f3b
commit afe19111e9
2 changed files with 5 additions and 0 deletions

View File

@@ -102,6 +102,8 @@ char wtmpf[] = "/etc/wtmp";
#endif /* STREAMSPTY */
#undef NOERROR
#ifdef HAVE_SYS_STREAM_H
#ifdef HAVE_SYS_UIO_H
#include <sys/uio.h>

View File

@@ -63,6 +63,9 @@ int registerd_host_only = 0;
#ifdef HAVE_SYS_STREAM_H
#include <sys/stream.h>
#endif
#undef NOERROR
#ifdef _AIX
#include <sys/termio.h>
#endif