[PATCH??] libstdc++-v3/config/locale/gnu/c_locale.h
Chris Lattner
sabre@nondot.org
Fri Aug 22 15:19:00 GMT 2003
This file does not compile due to lack of prototypes for malloc, strlen,
strcpy, and free. This seems like a really gross solution, but does
work...
2003-08-22 Chris Lattner <sabre@nondot.org>
* c_locale.h: Get prototypes for system functions used.
===================================================================
RCS file: /cvsroot/gcc/gcc/libstdc++-v3/config/locale/gnu/c_locale.h,v
retrieving revision 1.6
diff -u -r1.6 c_locale.h
--- c_locale.h 23 Jan 2003 18:56:00 -0000 1.6
+++ c_locale.h 22 Aug 2003 15:15:04 -0000
@@ -42,6 +42,8 @@
#include <langinfo.h> // For codecvt
#include <iconv.h> // For codecvt using iconv, iconv_t
#include <libintl.h> // For messages
+#include <string.h>
+#include <malloc.h>
#define _GLIBCPP_C_LOCALE_GNU 1
-Chris
--
http://llvm.cs.uiuc.edu/
http://www.nondot.org/~sabre/Projects/
More information about the Libstdc++
mailing list