summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authordas <das@FreeBSD.org>2004-06-09 10:32:05 +0000
committerdas <das@FreeBSD.org>2004-06-09 10:32:05 +0000
commit2e3c47ad4885c3f4d1d12e5c8d410338ffc26fb1 (patch)
tree584a68ea37f95a8c4d95043a760059f6027bcd06 /lib
parentde5f77727230aa04e9cf71e54d6c906b1caed9aa (diff)
downloadFreeBSD-src-2e3c47ad4885c3f4d1d12e5c8d410338ffc26fb1.zip
FreeBSD-src-2e3c47ad4885c3f4d1d12e5c8d410338ffc26fb1.tar.gz
Include <sys/cdefs.h> earlier to get the various visibility constants.
Previously, we were relying on <sys/_types.h> to include it implicitly.
Diffstat (limited to 'lib')
-rw-r--r--lib/msun/src/math.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/lib/msun/src/math.h b/lib/msun/src/math.h
index 7abb709..01c29af 100644
--- a/lib/msun/src/math.h
+++ b/lib/msun/src/math.h
@@ -17,6 +17,7 @@
#ifndef _MATH_H_
#define _MATH_H_
+#include <sys/cdefs.h>
#include <sys/_types.h>
/*
@@ -150,8 +151,6 @@ struct exception {
#endif /* __BSD_VISIBLE */
-#include <sys/cdefs.h>
-
/*
* Most of these functions have the side effect of setting errno, so they
* are not declared as __pure2. (XXX: this point needs to be revisited,
OpenPOWER on IntegriCloud