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 --- loginutils/getty.c | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'loginutils') 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 /* 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. -- cgit v1.2.3