summaryrefslogtreecommitdiff
path: root/libc
diff options
context:
space:
mode:
authorPeter S. Mazinger <ps.m@gmx.net>2006-01-31 01:42:44 +0000
committerPeter S. Mazinger <ps.m@gmx.net>2006-01-31 01:42:44 +0000
commit5ae3423206fc2660c05093560c95e8bf9e1366bb (patch)
treea5b9e99d44168c2242317f3702f210a07981f17c /libc
parentded219589f184b296190aebcba56b57564f5f337 (diff)
don't include wchar.h if WCHAR is disabled
Diffstat (limited to 'libc')
-rw-r--r--libc/inet/rpc/rcmd.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/libc/inet/rpc/rcmd.c b/libc/inet/rpc/rcmd.c
index 4ba3eb5cf..472212f54 100644
--- a/libc/inet/rpc/rcmd.c
+++ b/libc/inet/rpc/rcmd.c
@@ -82,7 +82,9 @@ static char sccsid[] = "@(#)rcmd.c 8.3 (Berkeley) 3/26/94";
#include <string.h>
#include <libintl.h>
#include <stdlib.h>
+#ifdef __UCLIBC_HAS_WCHAR__
#include <wchar.h>
+#endif
#include <sys/uio.h>
libc_hidden_proto(memcmp)