summaryrefslogtreecommitdiffstats
path: root/lib/msun/src
diff options
context:
space:
mode:
Diffstat (limited to 'lib/msun/src')
-rw-r--r--lib/msun/src/s_ceil.c7
-rw-r--r--lib/msun/src/s_floor.c7
-rw-r--r--lib/msun/src/s_trunc.c2
3 files changed, 10 insertions, 6 deletions
diff --git a/lib/msun/src/s_ceil.c b/lib/msun/src/s_ceil.c
index b25c217..929f813 100644
--- a/lib/msun/src/s_ceil.c
+++ b/lib/msun/src/s_ceil.c
@@ -10,9 +10,8 @@
* ====================================================
*/
-#ifndef lint
-static char rcsid[] = "$FreeBSD$";
-#endif
+#include <sys/cdefs.h>
+__FBSDID("$FreeBSD$");
/*
* ceil(x)
@@ -23,6 +22,8 @@ static char rcsid[] = "$FreeBSD$";
* Inexact flag raised if x not equal to ceil(x).
*/
+#include <float.h>
+
#include "math.h"
#include "math_private.h"
diff --git a/lib/msun/src/s_floor.c b/lib/msun/src/s_floor.c
index 582a01a..65f696a 100644
--- a/lib/msun/src/s_floor.c
+++ b/lib/msun/src/s_floor.c
@@ -10,9 +10,8 @@
* ====================================================
*/
-#ifndef lint
-static char rcsid[] = "$FreeBSD$";
-#endif
+#include <sys/cdefs.h>
+__FBSDID("$FreeBSD$");
/*
* floor(x)
@@ -23,6 +22,8 @@ static char rcsid[] = "$FreeBSD$";
* Inexact flag raised if x not equal to floor(x).
*/
+#include <float.h>
+
#include "math.h"
#include "math_private.h"
diff --git a/lib/msun/src/s_trunc.c b/lib/msun/src/s_trunc.c
index 0b3089e..86e97bd 100644
--- a/lib/msun/src/s_trunc.c
+++ b/lib/msun/src/s_trunc.c
@@ -22,6 +22,8 @@ __FBSDID("$FreeBSD$");
* Inexact flag raised if x not equal to trunc(x).
*/
+#include <float.h>
+
#include "math.h"
#include "math_private.h"
OpenPOWER on IntegriCloud