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:
das 2004-06-09 10:32:05 +00:00
parent dd18d90a0a
commit 5f921b7f25

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,