Browse Source

don't include wchar.h if WCHAR is disabled

Peter S. Mazinger 19 years ago
parent
commit
5ae3423206
1 changed files with 2 additions and 0 deletions
  1. 2 0
      libc/inet/rpc/rcmd.c

+ 2 - 0
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)