diff options
Diffstat (limited to 'modules/fdlibm/patches/05_include_stdint_h_in_math_private_h.patch')
-rw-r--r-- | modules/fdlibm/patches/05_include_stdint_h_in_math_private_h.patch | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/modules/fdlibm/patches/05_include_stdint_h_in_math_private_h.patch b/modules/fdlibm/patches/05_include_stdint_h_in_math_private_h.patch new file mode 100644 index 0000000000..aec7d94738 --- /dev/null +++ b/modules/fdlibm/patches/05_include_stdint_h_in_math_private_h.patch @@ -0,0 +1,21 @@ +diff --git a/math_private.h b/math_private.h +--- a/math_private.h ++++ b/math_private.h +@@ -12,16 +12,17 @@ + /* + * from: @(#)fdlibm.h 5.1 93/09/24 + * $FreeBSD$ + */ + + #ifndef _MATH_PRIVATE_H_ + #define _MATH_PRIVATE_H_ + ++#include <stdint.h> + #include <sys/types.h> + #include <machine/endian.h> + + #include "fdlibm.h" + + /* + * The original fdlibm code used statements like: + * n0 = ((*(int*)&one)>>29)^1; * index of high word * |