From 7b2003907add2bfeaedbd3e89d229db139fded88 Mon Sep 17 00:00:00 2001 From: Ingo Weinhold Date: Mon, 5 Jul 2010 16:11:43 +0000 Subject: [PATCH] * Replace remaining BeOS int types. * Removed inclusion of , respectively replaced it with . git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@37404 a95241bf-73f2-0310-859d-f6bbb57e9c96 --- headers/posix/arch/arm/fenv.h | 2 +- headers/posix/arch/ppc/fenv.h | 2 +- headers/posix/arch/x86/fenv.h | 8 ++++---- headers/posix/arch/x86_64/fenv.h | 3 ++- 4 files changed, 8 insertions(+), 7 deletions(-) diff --git a/headers/posix/arch/arm/fenv.h b/headers/posix/arch/arm/fenv.h index 169e61964b..f07e82ed73 100644 --- a/headers/posix/arch/arm/fenv.h +++ b/headers/posix/arch/arm/fenv.h @@ -29,9 +29,9 @@ #ifndef _FENV_H_ #define _FENV_H_ +#include #include #include -#include typedef uint32_t fenv_t; typedef uint32_t fexcept_t; diff --git a/headers/posix/arch/ppc/fenv.h b/headers/posix/arch/ppc/fenv.h index d54245cf36..c1993657fb 100644 --- a/headers/posix/arch/ppc/fenv.h +++ b/headers/posix/arch/ppc/fenv.h @@ -29,9 +29,9 @@ #ifndef _FENV_H_ #define _FENV_H_ +#include #include #include -#include typedef uint32_t fenv_t; typedef uint32_t fexcept_t; diff --git a/headers/posix/arch/x86/fenv.h b/headers/posix/arch/x86/fenv.h index d9fa4d911c..71b48e22f7 100644 --- a/headers/posix/arch/x86/fenv.h +++ b/headers/posix/arch/x86/fenv.h @@ -29,11 +29,11 @@ #ifndef _FENV_H_ #define _FENV_H_ +#include #include #include -#include -/* +/* * To preserve binary compatibility with FreeBSD 5.3, we pack the * mxcsr into some reserved fields, rather than changing sizeof(fenv_t). */ @@ -49,8 +49,8 @@ typedef struct { #define __get_mxcsr(env) (((env).__mxcsr_hi << 16) | \ ((env).__mxcsr_lo)) #define __set_mxcsr(env, x) do { \ - (env).__mxcsr_hi = (uint32)(x) >> 16; \ - (env).__mxcsr_lo = (uint16)(x); \ + (env).__mxcsr_hi = (uint32_t)(x) >> 16; \ + (env).__mxcsr_lo = (uint16_t)(x); \ } while (0) typedef uint16_t fexcept_t; diff --git a/headers/posix/arch/x86_64/fenv.h b/headers/posix/arch/x86_64/fenv.h index ef03daa072..a9992f9fad 100644 --- a/headers/posix/arch/x86_64/fenv.h +++ b/headers/posix/arch/x86_64/fenv.h @@ -29,8 +29,9 @@ #ifndef _FENV_H_ #define _FENV_H_ +#include #include -#include +#include typedef struct { struct {