From afe19111e98b736d25e959bf563fb8da1dc8a3e7 Mon Sep 17 00:00:00 2001 From: Assar Westerlund Date: Mon, 17 Sep 2001 02:09:04 +0000 Subject: [PATCH] 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 --- appl/telnet/telnetd/sys_term.c | 2 ++ appl/telnet/telnetd/telnetd.c | 3 +++ 2 files changed, 5 insertions(+) diff --git a/appl/telnet/telnetd/sys_term.c b/appl/telnet/telnetd/sys_term.c index 8938d6c6e..281901f6e 100644 --- a/appl/telnet/telnetd/sys_term.c +++ b/appl/telnet/telnetd/sys_term.c @@ -102,6 +102,8 @@ char wtmpf[] = "/etc/wtmp"; #endif /* STREAMSPTY */ +#undef NOERROR + #ifdef HAVE_SYS_STREAM_H #ifdef HAVE_SYS_UIO_H #include diff --git a/appl/telnet/telnetd/telnetd.c b/appl/telnet/telnetd/telnetd.c index e870e62d5..c2d3189d7 100644 --- a/appl/telnet/telnetd/telnetd.c +++ b/appl/telnet/telnetd/telnetd.c @@ -63,6 +63,9 @@ int registerd_host_only = 0; #ifdef HAVE_SYS_STREAM_H #include #endif + +#undef NOERROR + #ifdef _AIX #include #endif