From 766ef9a2cc72c5888a3abe83e63442825bf88920 Mon Sep 17 00:00:00 2001
From: "Peter S. Mazinger" <ps.m@gmx.net>
Date: Wed, 22 Mar 2006 17:28:37 +0000
Subject: Correct build if UCLIBC_HAS_CTYPE_TABLES is not defined

---
 libc/misc/ttyent/getttyent.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

(limited to 'libc/misc/ttyent')

diff --git a/libc/misc/ttyent/getttyent.c b/libc/misc/ttyent/getttyent.c
index e9cc9be2a..89c39876f 100644
--- a/libc/misc/ttyent/getttyent.c
+++ b/libc/misc/ttyent/getttyent.c
@@ -51,7 +51,7 @@ libc_hidden_proto(fclose)
 libc_hidden_proto(abort)
 #ifdef __UCLIBC_HAS_XLOCALE__
 libc_hidden_proto(__ctype_b_loc)
-#else
+#elif __UCLIBC_HAS_CTYPE_TABLES__
 libc_hidden_proto(__ctype_b)
 #endif
 
-- 
cgit v1.2.3