--- a/src/lte/model/ff-mac-sched-sap.cc Sat May 26 10:39:44 2012 -0400
+++ b/src/lte/model/ff-mac-sched-sap.cc Sat May 26 09:25:51 2012 -0700
@@ -31,4 +31,4 @@
{
}
-} // namespace ns3
\ No newline at end of file
+} // namespace ns3
--- a/src/lte/model/lte-ue-cmac-sap.cc Sat May 26 10:39:44 2012 -0400
+++ b/src/lte/model/lte-ue-cmac-sap.cc Sat May 26 09:25:51 2012 -0700
@@ -33,4 +33,4 @@
{
}
-} // namespace ns3
\ No newline at end of file
+} // namespace ns3
--- a/src/lte/model/pf-ff-mac-scheduler.cc Sat May 26 10:39:44 2012 -0400
+++ b/src/lte/model/pf-ff-mac-scheduler.cc Sat May 26 09:25:51 2012 -0700
@@ -18,6 +18,10 @@
* Author: Marco Miozzo <marco.miozzo@cttc.es>
*/
+#ifdef __FreeBSD__
+#define log2(x) (log(x) / M_LN2)
+#endif /* __FreeBSD__ */
+
#include <ns3/log.h>
#include <ns3/pointer.h>
--- a/src/lte/model/rr-ff-mac-scheduler.cc Sat May 26 10:39:44 2012 -0400
+++ b/src/lte/model/rr-ff-mac-scheduler.cc Sat May 26 09:25:51 2012 -0700
@@ -18,6 +18,10 @@
* Author: Marco Miozzo <marco.miozzo@cttc.es>
*/
+#ifdef __FreeBSD__
+#define log2(x) (log(x) / M_LN2)
+#endif /* __FreeBSD__ */
+
#include <ns3/log.h>
#include <ns3/pointer.h>