soft-fp patch: Include <stdlib.h> for declaration of abort
Joseph S. Myers
joseph@codesourcery.com
Sun Dec 4 14:27:00 GMT 2005
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
More information about the Libc-alpha
mailing list