[mythtv] [PATCH] Add missing math.h file in dvbdiseqc.cpp

Colin Guthrie myth at colin.guthr.ie
Sun Oct 3 15:30:04 UTC 2004


Taylor Jacob wrote:
> I have seen some complaints that some distros need math.h for dvbdiseqc.cpp to compile (I didnt
> need it for gentoo).  This one liner adds this.
> 
> mythdev libmythtv $ cvs diff -u dvbdiseqc.cpp > dvbdiseqc.mathh.patch

Sorry to spam, but I didn't actually look at your patch last time.

For what it's worth, as math.h is a system library, I think it should 
really be:
#include <math.h>
as opposed to:
#include "math.h"

Not a biggie as everything will work, but it's better to stick to what's 
correct I think.

People more educated in the ways of myth (or C) may correct me here.


Col

-- 

+------------------------+
|     Colin Guthrie      |
+------------------------+
|   myth at colin.guthr.ie  |
| http://colin.guthr.ie/ |
+------------------------+


More information about the mythtv-dev mailing list