From c628e3bacabb3ec6aff74332c76a7879b80a7a3d Mon Sep 17 00:00:00 2001 From: Anton Mitrofanov Date: Fri, 18 Oct 2013 00:38:06 +0400 Subject: [PATCH] Fix compilation in case of HAVE_LOG2F check fails spuriously --- common/osdep.h | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/common/osdep.h b/common/osdep.h index dba1eb07..054953d3 100644 --- a/common/osdep.h +++ b/common/osdep.h @@ -37,6 +37,12 @@ #include "config.h" +#ifdef __INTEL_COMPILER +#include +#else +#include +#endif + #if !HAVE_LOG2F #define log2f(x) (logf(x)/0.693147180559945f) #define log2(x) (log(x)/0.693147180559945) @@ -51,12 +57,6 @@ #define S_ISREG(x) (((x) & S_IFMT) == S_IFREG) #endif -#ifdef __INTEL_COMPILER -#include -#else -#include -#endif - #if (defined(__GNUC__) || defined(__INTEL_COMPILER)) && (ARCH_X86 || ARCH_X86_64) #define HAVE_X86_INLINE_ASM 1 #endif -- 2.47.3