summaryrefslogtreecommitdiff
path: root/libm
diff options
context:
space:
mode:
authorEric Andersen <andersen@codepoet.org>2003-09-08 11:12:57 +0000
committerEric Andersen <andersen@codepoet.org>2003-09-08 11:12:57 +0000
commit7083e9626fec035008405ca598bc3c9241013b55 (patch)
tree98b919591c957651f7e69a95a53d65d2fa00705f /libm
parent3056fc1a325e3661c9dc577b32cd7e0e59e7fdfe (diff)
Fixup build problem on powerpc
Diffstat (limited to 'libm')
-rw-r--r--libm/fp_private.h10
1 files changed, 6 insertions, 4 deletions
diff --git a/libm/fp_private.h b/libm/fp_private.h
index 97b3b5703..c16836a12 100644
--- a/libm/fp_private.h
+++ b/libm/fp_private.h
@@ -69,14 +69,16 @@
* Types used in the auxiliary functions. *
*******************************************************************************/
+#include <stdint.h>
+
typedef struct /* Hex representation of a double. */
{
#if defined(__BIG_ENDIAN__)
- u_int32_t high;
- u_int32_t low;
+ uint32_t high;
+ uint32_t low;
#else
- u_int32_t low;
- u_int32_t high;
+ uint32_t low;
+ uint32_t high;
#endif
} dHexParts;