Эх сурвалжийг харах

don't include wchar.h if WCHAR is disabled

Peter S. Mazinger 20 жил өмнө
parent
commit
5ae3423206
1 өөрчлөгдсөн 2 нэмэгдсэн , 0 устгасан
  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)