This is the mail archive of the libc-alpha@sourceware.org mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]