This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
soft-fp patch: Include <stdlib.h> for declaration of abort
- From: "Joseph S. Myers" <joseph at codesourcery dot com>
- To: libc-alpha at sourceware dot org
- Date: Sun, 4 Dec 2005 14:27:28 +0000 (UTC)
- Subject: soft-fp patch: Include <stdlib.h> for declaration of abort
Various macros in the soft-fp code include calls to abort, so a
declaration of this function is needed. This patch makes soft-fp.h
include <stdlib.h> to provide that declaration.
2005-12-04 Joseph S. Myers <joseph@codesourcery.com>
* soft-fp/soft-fp.h: Include <stdlib.h>.
diff -rupN libc.orig/soft-fp/soft-fp.h libc.abort/soft-fp/soft-fp.h
--- libc.orig/soft-fp/soft-fp.h 2003-10-16 00:46:27.000000000 +0000
+++ libc.abort/soft-fp/soft-fp.h 2005-12-04 14:24:23.000000000 +0000
@@ -175,4 +175,6 @@ typedef USItype UHWtype;
#include <stdlib/longlong.h>
#endif
+#include <stdlib.h>
+
#endif
--
Joseph S. Myers
joseph@codesourcery.com