modules/fdlibm/patches/05_include_stdint_h_in_math_private_h.patch
raw| 1 | diff --git a/math_private.h b/math_private.h |
| 2 | --- a/math_private.h |
| 3 | +++ b/math_private.h |
| 4 | @@ -12,16 +12,17 @@ |
| 5 | /* |
| 6 | * from: @(#)fdlibm.h 5.1 93/09/24 |
| 7 | * $FreeBSD$ |
| 8 | */ |
| 9 | |
| 10 | #ifndef _MATH_PRIVATE_H_ |
| 11 | #define _MATH_PRIVATE_H_ |
| 12 | |
| 13 | +#include <stdint.h> |
| 14 | #include <sys/types.h> |
| 15 | #include <machine/endian.h> |
| 16 | |
| 17 | #include "fdlibm.h" |
| 18 | |
| 19 | /* |
| 20 | * The original fdlibm code used statements like: |
| 21 | * n0 = ((*(int*)&one)>>29)^1; * index of high word * |