Parcourir la source

Fixup build problem on powerpc

Eric Andersen il y a 21 ans
Parent
commit
7083e9626f
1 fichiers modifiés avec 6 ajouts et 4 suppressions
  1. 6 4
      libm/fp_private.h

+ 6 - 4
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;