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/getty.c | |
parent | b22bbfffec182997827b0a71eeb93ddafbde602c (diff) | |
download | busybox-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 'loginutils/getty.c')
-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 @@ | |||
22 | #include <utmp.h> /* updwtmp() */ | 22 | #include <utmp.h> /* updwtmp() */ |
23 | #endif | 23 | #endif |
24 | 24 | ||
25 | #ifndef IUCLC | ||
26 | # define IUCLC 0 | ||
27 | #endif | ||
28 | |||
25 | /* | 29 | /* |
26 | * Some heuristics to find out what environment we are in: if it is not | 30 | * Some heuristics to find out what environment we are in: if it is not |
27 | * System V, assume it is SunOS 4. | 31 | * System V, assume it is SunOS 4. |