Subject: Inclusion of floatingpoint.h may cause troubles in other packages, for example, GCC's Modula-2 sources define variable EOF and when compiled (into C) conflicts with the EOF macro which is defined in stdio.h which is pulled in from floatingpoint.h. This header and the corresponding functions are Solaris extention and can be use explicitly if needed. Index: libc/usr/src/head/math.h =================================================================== --- libc.orig/usr/src/head/math.h +++ libc/usr/src/head/math.h @@ -337,9 +337,6 @@ extern float modff __P((float, float *)) #endif /* END adopted by C99 */ -#if defined(__EXTENSIONS__) || !defined(__cplusplus) -#include -#endif #endif /* defined(__EXTENSIONS__) || !defined(_XOPEN_SOURCE) */ #endif /* defined(__EXTENSIONS__) || defined(_XOPEN_SOURCE) || ... */ Index: libc/usr/src/lib/libm/common/m9x/__fex_hdlr.c =================================================================== --- libc.orig/usr/src/lib/libm/common/m9x/__fex_hdlr.c +++ libc/usr/src/lib/libm/common/m9x/__fex_hdlr.c @@ -36,6 +36,7 @@ #include #include #include +#include #if defined(__SUNPRO_C) #include #endif Index: libc/usr/src/lib/libm/common/m9x/__fex_i386.c =================================================================== --- libc.orig/usr/src/lib/libm/common/m9x/__fex_i386.c +++ libc/usr/src/lib/libm/common/m9x/__fex_i386.c @@ -36,6 +36,7 @@ #include #include #include +#include #if defined(__SUNPRO_C) #include #endif