From 9b1b62adc4e4c1e80d9f72180c6b7b1eaef9f95a Mon Sep 17 00:00:00 2001 From: Denys Vlasenko Date: Sun, 5 Jul 2009 03:34:12 +0200 Subject: Patches to enable FreeBSD build platform.h: fix wrong check for endianness, fix lchown aliasing to chown on uclibc. Code seems to not be affected in my testing. Signed-off-by: Denys Vlasenko --- coreutils/stty.c | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'coreutils') diff --git a/coreutils/stty.c b/coreutils/stty.c index e02fe7c..5506fdb 100644 --- a/coreutils/stty.c +++ b/coreutils/stty.c @@ -68,6 +68,10 @@ # define CSWTCH _POSIX_VDISABLE #endif +#ifndef IUCLC +# define IUCLC 0 +#endif + /* SunOS 5.3 loses (^Z doesn't work) if 'swtch' is the same as 'susp'. So the default is to disable 'swtch.' */ #if defined(__sparc__) && defined(__svr4__) -- cgit v1.1