* libc/include/math.h: Remove <sys/types.h>.
(__dmath): Use __ULong instead of _uint32_t.
* libc/include/sys/reent.h: If long or int is not 32-bits,
include <sys/types.h> to get definitions for _int32_t and _uint32_t.
* libc/stdlib/mprec.h: Include <sys/types.h> to get integer defs.
* libm/common/fdlibm.h: Ditto.
+2002-06-24 Jeff Johnston <jjohnstn@redhat.com>
+
+ * libc/include/math.h: Remove <sys/types.h>.
+ (__dmath): Use __ULong instead of _uint32_t.
+ * libc/include/sys/reent.h: If long or int is not 32-bits,
+ include <sys/types.h> to get definitions for _int32_t and _uint32_t.
+ * libc/stdlib/mprec.h: Include <sys/types.h> to get integer defs.
+ * libm/common/fdlibm.h: Ditto.
+
2002-06-24 Thomas Fitzsimmons <fitzsim@redhat.com>
* libc/include/ndbm.h: Remove.
#define _MATH_H_
#include <sys/reent.h>
-#include <sys/types.h>
#include <machine/ieeefp.h>
#include "_ansi.h"
union __dmath
{
- __uint32_t i[2];
+ __ULong i[2];
double d;
};
#endif
#ifndef __Long
+#include <sys/types.h>
#define __Long __int32_t
typedef __uint32_t __ULong;
#endif
#include <float.h>
#include <errno.h>
#include <sys/config.h>
+#include <sys/types.h>
#ifdef __IEEE_LITTLE_ENDIAN
#define IEEE_8087
/* REDHAT LOCAL: Include files. */
#include <math.h>
+#include <sys/types.h>
#include <machine/ieeefp.h>
/* REDHAT LOCAL: Default to XOPEN_MODE. */