The file machine/ieeefp.h needs sys/cdefs.h on amd64 and i386 after my
compiler features tests. This is ok, since machine/ieeefp.h is an internal interface. But floatingpoint.h is a public interface and some ports use it, so include sys/cdefs.h in the amd64 and i386 version of floatingpoint.h. Note: some architectures don't provide recursive inclusion protection in floatingpoint.h, namely alpha and ia64. Except for this part and now the include of sys/cdefs.h, all those files are equal (from a compiler POV), so they could be moved to only one version in src/include/. Approved by: joerg
This commit is contained in:
parent
fde2b24692
commit
3df129097b
@ -37,6 +37,7 @@
|
||||
#ifndef _FLOATINGPOINT_H_
|
||||
#define _FLOATINGPOINT_H_
|
||||
|
||||
#include <sys/cdefs.h>
|
||||
#include <machine/ieeefp.h>
|
||||
|
||||
#endif /* !_FLOATINGPOINT_H_ */
|
||||
|
@ -37,6 +37,7 @@
|
||||
#ifndef _FLOATINGPOINT_H_
|
||||
#define _FLOATINGPOINT_H_
|
||||
|
||||
#include <sys/cdefs.h>
|
||||
#include <machine/ieeefp.h>
|
||||
|
||||
#endif /* !_FLOATINGPOINT_H_ */
|
||||
|
Loading…
x
Reference in New Issue
Block a user