components/stdcxx/patches/055-ctype.cpp.patch
author Jesse Butler <jesse.butler@oracle.com>
Mon, 17 Oct 2016 16:13:44 -0700
changeset 7119 2f82d964b8be
parent 402 94ae4d75524c
permissions -rw-r--r--
24830297 drop unneeded metadata layers from base image

--- stdcxx-4.2.1/src/ctype.cpp	2011-01-01 16:58:38.016382244 -0500
+++ stdcxx-4.2.1/src/ctype.cpp	2011-01-01 17:05:16.501421314 -0500
@@ -33,6 +33,9 @@
 #include <ctype.h>
 #include <limits.h>
 #include <locale.h>
+#if defined(__linux__)
+#include <wchar.h>
+#endif
 #include <wctype.h>
 #include <string.h>  // for memset()