From: Adriaan de Groot Date: Fri, 16 May 2008 22:59:07 +0000 (+0000) Subject: ldexp is a c99-ism, which is not available in strict C++; use math.h as well to pull... X-Git-Tag: v1.6rc1~74 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=388d0f353da656ef35ff372a69ce31c4695f1370;p=taglib 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 --- 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"