aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Schultz <das@FreeBSD.org>2004-06-09 10:32:05 +0000
committerDavid Schultz <das@FreeBSD.org>2004-06-09 10:32:05 +0000
commit207bc1d79b1c993790c5a42ef4db27b3625224ba (patch)
tree584a68ea37f95a8c4d95043a760059f6027bcd06
parentb7b4b455b5030fc39fea25b2eadaf629416d432d (diff)
downloadsrc-207bc1d79b1c993790c5a42ef4db27b3625224ba.tar.gz
src-207bc1d79b1c993790c5a42ef4db27b3625224ba.zip
Include <sys/cdefs.h> earlier to get the various visibility constants.
Previously, we were relying on <sys/_types.h> to include it implicitly.
Notes
Notes: svn path=/head/; revision=130264
-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 7abb7099584f..01c29af5b72f 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,