1
0
mirror of https://git.FreeBSD.org/src.git synced 2025-01-31 16:57:10 +00:00

Include <sys/cdefs.h> earlier to get the various visibility constants.

Previously, we were relying on <sys/_types.h> to include it implicitly.
This commit is contained in:
David Schultz 2004-06-09 10:32:05 +00:00
parent b7b4b455b5
commit 207bc1d79b
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=130264

View File

@ -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,