From a9a092d9c2dab31993bc2955c5ed730c9234df29 Mon Sep 17 00:00:00 2001 From: Kevin Zheng Date: Tue, 2 Feb 2021 12:02:19 -0800 Subject: [PATCH] Always include stdlib.h stdlib.h is required for atof() per IEEE Std 1003.1-1990 ("POSIX.1"). --- include/yalecad/base.h | 2 -- 1 file changed, 2 deletions(-) diff --git a/include/yalecad/base.h b/include/yalecad/base.h index b40d60d..8696097 100644 --- a/include/yalecad/base.h +++ b/include/yalecad/base.h @@ -51,10 +51,8 @@ REVISIONS: Feb 25, 1989 - modified round macro so results are more #ifndef STDIO_H #define STDIO_H #include -#ifdef linux #include /* needed for atof() */ #endif -#endif #ifndef MATH_H #define MATH_H