From 388d0f353da656ef35ff372a69ce31c4695f1370 Mon Sep 17 00:00:00 2001 From: Adriaan de Groot Date: Fri, 16 May 2008 22:59:07 +0000 Subject: [PATCH] ldexp is a c99-ism, which is not available in strict C++; use math.h as well to pull it in and hope for the best. git-svn-id: svn://anonsvn.kde.org/home/kde/trunk/kdesupport/taglib@808578 283d02a7-25f6-0310-bc7c-ecb5cbfe19da --- taglib/riff/aiff/aiffproperties.cpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/taglib/riff/aiff/aiffproperties.cpp b/taglib/riff/aiff/aiffproperties.cpp index df867fcc..e60d936d 100644 --- a/taglib/riff/aiff/aiffproperties.cpp +++ b/taglib/riff/aiff/aiffproperties.cpp @@ -26,6 +26,10 @@ #include #include #include +// ldexp is a c99 function, which might not be defined in +// so we pull in math.h too and hope it does the right (wrong) thing +// wrt. c99 functions in C++ +#include #include "aiffproperties.h"