From 6dddb06ad1e8611f083f7bcb432dd4b116e58a0e Mon Sep 17 00:00:00 2001 From: Boris Boesler Date: Fri, 26 Sep 2003 09:08:28 +0000 Subject: [PATCH] *** empty log message *** [r1880] --- ir/tv/fltcalc.c | 11 ++++++----- ir/tv/strcalc.c | 12 +++++++----- ir/tv/tv.c | 12 +++++++----- 3 files changed, 20 insertions(+), 15 deletions(-) diff --git a/ir/tv/fltcalc.c b/ir/tv/fltcalc.c index cca8bf85d..d08197941 100644 --- a/ir/tv/fltcalc.c +++ b/ir/tv/fltcalc.c @@ -11,6 +11,11 @@ */ +#ifdef HAVE_CONFIG_H +# include "config.h" +#endif + + #include "fltcalc.h" #include "strcalc.h" @@ -25,12 +30,8 @@ #include #include #include -#ifdef linux +#ifdef HAVE_ALLOCA_H # include -#else -# ifdef __APPLE__ -# include -# endif #endif typedef uint32_t UINT32; diff --git a/ir/tv/strcalc.c b/ir/tv/strcalc.c index 5813e3b26..2d55f58f3 100644 --- a/ir/tv/strcalc.c +++ b/ir/tv/strcalc.c @@ -10,15 +10,17 @@ * Licence: This file protected by GPL - GNU GENERAL PUBLIC LICENSE. */ + +#ifdef HAVE_CONFIG_H +# include "config.h" +#endif + + #include "strcalc.h" #include -#ifdef linux +#ifdef HAVE_ALLOCA_H # include -#else -# ifdef __APPLE__ -# include -# endif #endif #include /* assertions */ #include /* memset/memcmp */ diff --git a/ir/tv/tv.c b/ir/tv/tv.c index f51cd5c0d..6886f31c7 100644 --- a/ir/tv/tv.c +++ b/ir/tv/tv.c @@ -20,17 +20,19 @@ /* This implementation assumes: * - target has IEEE-754 floating-point arithmetic. */ + +#ifdef HAVE_CONFIG_H +# include "config.h" +#endif + + #include /* assertions */ #include /* atoi() */ #include /* nice things for strings */ #include /* strings.h also includes bsd only function strcasecmp */ #include -#ifdef linux +#ifdef HAVE_ALLOCA_H # include -#else -# ifdef __APPLE__ -# include -# endif #endif #include "tv_t.h" -- 2.20.1