diff options
author | Denys Vlasenko <vda.linux@googlemail.com> | 2009-07-05 03:34:12 +0200 |
---|---|---|
committer | Denys Vlasenko <vda.linux@googlemail.com> | 2009-07-05 03:34:12 +0200 |
commit | 9b1b62adc4e4c1e80d9f72180c6b7b1eaef9f95a (patch) | |
tree | 65a7b5ebb093903fd030aecda6ee204660d458d4 /loginutils | |
parent | b22bbfffec182997827b0a71eeb93ddafbde602c (diff) | |
download | busybox-9b1b62adc4e4c1e80d9f72180c6b7b1eaef9f95a.tar.gz |
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 'loginutils')
-rw-r--r-- | loginutils/getty.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/loginutils/getty.c b/loginutils/getty.c index 24a182ff4..34b09cecc 100644 --- a/loginutils/getty.c +++ b/loginutils/getty.c @@ -22,6 +22,10 @@ #include <utmp.h> /* updwtmp() */ #endif +#ifndef IUCLC +# define IUCLC 0 +#endif + /* * Some heuristics to find out what environment we are in: if it is not * System V, assume it is SunOS 4. |