diff liboctave/lo-math.h @ 10457:56e3a4c765a6

include both math.h and cmath in lo-math.h
author Jaroslav Hajek <highegg@gmail.com>
date Thu, 25 Mar 2010 10:22:46 +0100
parents 12d25a1d84bf
children bbe99b2a5ba7
line wrap: on
line diff
--- a/liboctave/lo-math.h
+++ b/liboctave/lo-math.h
@@ -25,6 +25,7 @@
 
 #if defined (__cplusplus)
 #include "math.h"
+#include <cmath>
 // if #undef log2 is missing in cmath, undef it here
 #if defined (log2)
 #undef log2