This is the mail archive of the
ecos-patches@sources.redhat.com
mailing list for the eCos project.
minor isoinfra patch
- From: Bart Veer <bartv at ecoscentric dot com>
- To: ecos-patches at sources dot redhat dot com
- Date: Sun, 15 Dec 2002 21:16:54 +0000 (GMT)
- Subject: minor isoinfra patch
As per ecos-discuss, <stdlib.h> had a dependency on
<cyg/infra/cyg_type.h> but did not explicitly #include it. So code
that #include's <stdlib.h> first would give a compile-time error.
Bart
2002-12-12 Bart Veer <bartv@ecoscentric.com>
* include/stdlib.h: #include cyg_type.h, now that this header
uses NORET attributes
--- stdlib.h 23 May 2002 23:06:43 -0000 1.5
+++ stdlib.h 15 Dec 2002 21:14:48 -0000
@@ -70,6 +70,8 @@
#define __need_wchar_t
#include <stddef.h>
+#include <cyg/infra/cyg_type.h> /* For CYGBLD_ATTRIB_NORET etc. */
+
/*==========================================================================*/
#if CYGINT_ISO_STDLIB_STRCONV