aboutsummaryrefslogtreecommitdiff
path: root/coreutils
diff options
context:
space:
mode:
authorDenys Vlasenko <vda.linux@googlemail.com>2009-07-05 03:34:12 +0200
committerDenys Vlasenko <vda.linux@googlemail.com>2009-07-05 03:34:12 +0200
commit9b1b62adc4e4c1e80d9f72180c6b7b1eaef9f95a (patch)
tree65a7b5ebb093903fd030aecda6ee204660d458d4 /coreutils
parentb22bbfffec182997827b0a71eeb93ddafbde602c (diff)
downloadbusybox-w32-9b1b62adc4e4c1e80d9f72180c6b7b1eaef9f95a.tar.gz
busybox-w32-9b1b62adc4e4c1e80d9f72180c6b7b1eaef9f95a.tar.bz2
busybox-w32-9b1b62adc4e4c1e80d9f72180c6b7b1eaef9f95a.zip
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 <vda.linux@googlemail.com>
Diffstat (limited to 'coreutils')
-rw-r--r--coreutils/stty.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/coreutils/stty.c b/coreutils/stty.c
index e02fe7c72..5506fdb66 100644
--- a/coreutils/stty.c
+++ b/coreutils/stty.c
@@ -68,6 +68,10 @@
68# define CSWTCH _POSIX_VDISABLE 68# define CSWTCH _POSIX_VDISABLE
69#endif 69#endif
70 70
71#ifndef IUCLC
72# define IUCLC 0
73#endif
74
71/* SunOS 5.3 loses (^Z doesn't work) if 'swtch' is the same as 'susp'. 75/* SunOS 5.3 loses (^Z doesn't work) if 'swtch' is the same as 'susp'.
72 So the default is to disable 'swtch.' */ 76 So the default is to disable 'swtch.' */
73#if defined(__sparc__) && defined(__svr4__) 77#if defined(__sparc__) && defined(__svr4__)