Commit 93b91208 authored by Jim Blandy's avatar Jim Blandy
Browse files

* lread.c, data.c: If STDC_HEADERS is #defined, include <stdlib.h>

	to get the extern declarations for atof.  That's where it is in
	POSIX.
parent 20280af7
......@@ -31,6 +31,9 @@ the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. */
#include "syssignal.h"
#ifdef LISP_FLOAT_TYPE
#ifdef STDC_HEADERS
#include <stdlib.h>
#endif
#include <math.h>
#endif /* LISP_FLOAT_TYPE */
......
......@@ -45,6 +45,9 @@ the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. */
#endif
#ifdef LISP_FLOAT_TYPE
#ifdef STDC_HEADERS
#include <stdlib.h>
#endif
#include <math.h>
#endif /* LISP_FLOAT_TYPE */
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment