diff --git a/src/lte/CMakeLists.txt b/src/lte/CMakeLists.txt index 8e5ba146a..f5bfccaba 100644 --- a/src/lte/CMakeLists.txt +++ b/src/lte/CMakeLists.txt @@ -358,4 +358,5 @@ build_lib( ${libconfig-store} TEST_SOURCES ${test_sources} MODULE_ENABLED_FEATURES ${emu_features} + GENERATE_EXPORT_HEADER ) diff --git a/src/lte/model/lte-ue-rrc.h b/src/lte/model/lte-ue-rrc.h index 6f74004c3..894a754b2 100644 --- a/src/lte/model/lte-ue-rrc.h +++ b/src/lte/model/lte-ue-rrc.h @@ -23,6 +23,7 @@ #include "lte-ue-cphy-sap.h" #include "ns3/deprecated.h" +#include "ns3/lte-export.h" #include "ns3/object.h" #include "ns3/packet.h" #include "ns3/traced-callback.h" @@ -50,7 +51,7 @@ namespace ns3 * - time-to-trigger check is always performed before the reporting, so there * would still be chance for it to cancel the reporting if necessary. */ -extern const Time UE_MEASUREMENT_REPORT_DELAY; +LTE_EXPORT extern const Time UE_MEASUREMENT_REPORT_DELAY; class LteRlc; class LteMacSapProvider;