From f9344217fa1d4141ce49001aa775e35f5fff8aab Mon Sep 17 00:00:00 2001 From: Tom Yu Date: Thu, 4 Aug 1994 20:42:52 +0000 Subject: [PATCH] * configure.in: * kpropd.c: include only if POSIX_TERMIOS is not defined git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4048 dc483132-0cff-0310-8789-dd5450dbe970 --- src/slave/ChangeLog | 5 +++++ src/slave/configure.in | 1 + src/slave/kpropd.c | 2 ++ 3 files changed, 8 insertions(+) diff --git a/src/slave/ChangeLog b/src/slave/ChangeLog index c805c4557..0c5e4c648 100644 --- a/src/slave/ChangeLog +++ b/src/slave/ChangeLog @@ -1,3 +1,8 @@ +Thu Aug 4 15:15:00 1994 Tom Yu (tlyu@dragons-lair) + + * configure.in: + * kpropd.c: include only if POSIX_TERMIOS is not defined + Sat Jul 16 00:01:41 1994 Theodore Y. Ts'o (tytso at tsx-11) * kpropd.c (do_standalone): Replace detach_process() with call to diff --git a/src/slave/configure.in b/src/slave/configure.in index a37d4a901..fae0c9cf3 100644 --- a/src/slave/configure.in +++ b/src/slave/configure.in @@ -3,6 +3,7 @@ WITH_CCOPTS CONFIG_RULES AC_SET_BUILDTOP AC_PROG_INSTALL +AC_HEADER_CHECK(termios.h,AC_FUNC_CHECK([tcsetattr],AC_DEFINE(POSIX_TERMIOS))) AC_HAVE_LIBRARY(socket) AC_HAVE_LIBRARY(nsl) AC_HAVE_LIBRARY(util) diff --git a/src/slave/kpropd.c b/src/slave/kpropd.c index cce7ca042..0a3e22d78 100644 --- a/src/slave/kpropd.c +++ b/src/slave/kpropd.c @@ -40,7 +40,9 @@ static char rcsid_kpropd_c[] = #include #include #include +#ifndef POSIX_TERMIOS #include +#endif #include #include #include -- 2.26.2