src/lte/model/fdmt-ff-mac-scheduler.cc
changeset 9658 2b77600c9031
parent 9657 4ba3220bce18
child 9788 a1c1c87153b5
child 10063 6b30859ebd37
--- a/src/lte/model/fdmt-ff-mac-scheduler.cc	Fri Apr 05 16:32:20 2013 +0200
+++ b/src/lte/model/fdmt-ff-mac-scheduler.cc	Fri Apr 05 16:39:16 2013 +0200
@@ -19,12 +19,9 @@
  * Modification: Dizhi Zhou <dizhi.zhou@gmail.com>    // modify codes related to downlink scheduler
  */
 
-#ifdef __FreeBSD__
-#define log2(x) (log (x) / M_LN2)
-#endif /* __FreeBSD__ */
-
 #include <ns3/log.h>
 #include <ns3/pointer.h>
+#include <ns3/math.h>
 
 #include <ns3/simulator.h>
 #include <ns3/lte-amc.h>