[mythtv] [mythgallery CVS][patch] math.h missing

Tommy Faasen mythtv at zwanebloem.nl
Fri Apr 16 07:18:19 EDT 2004


Hi,

My first patch, so I hope everything went well.
It's a simple thing I use gcc 2.95 and that needs math.h to understand
M_PI in singleview.cpp to compile

Regards,

Tommy
-------------- next part --------------
Index: mythgallery/mythgallery/singleview.cpp
===================================================================
RCS file: /var/lib/mythcvs/mythgallery/mythgallery/singleview.cpp,v
retrieving revision 1.27
diff -u -r1.27 singleview.cpp
--- mythgallery/mythgallery/singleview.cpp	6 Feb 2004 22:16:23 -0000	1.27
+++ mythgallery/mythgallery/singleview.cpp	16 Apr 2004 11:08:53 -0000
@@ -17,6 +17,7 @@
  * ============================================================ */
 
 #include <iostream>
+#include <math.h>
 
 #include <qsqldatabase.h>
 #include <qevent.h>


More information about the mythtv-dev mailing list