aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorVadim Yanitskiy <vyanitskiy@sysmocom.de>2020-10-24 19:18:13 +0700
committerVadim Yanitskiy <vyanitskiy@sysmocom.de>2020-10-24 19:25:32 +0700
commita0d862ba1d6eddb25215878146b179f07d978a05 (patch)
tree00c8ea778d9ad49beb30a234aa609242154e9460
parentc5989fe180465fe8839dd822424fd1c6765512ea (diff)
device/lms: fix: 'trx_vty.h' header requires C linkage
Otherwise, the linker fails to produce osmo-trx-lms binary: LMSDevice.cpp:493: undefined reference to `get_value_string(value_string const*, unsigned int)' LMSDevice.cpp:237: undefined reference to `osmo_panic(char const*, ...)' Change-Id: I2fef166c13136af7b7aaa744d39427d76ad11769 Fixes: OS#4828
-rw-r--r--Transceiver52M/device/lms/LMSDevice.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/Transceiver52M/device/lms/LMSDevice.cpp b/Transceiver52M/device/lms/LMSDevice.cpp
index ac7323e..ad83649 100644
--- a/Transceiver52M/device/lms/LMSDevice.cpp
+++ b/Transceiver52M/device/lms/LMSDevice.cpp
@@ -23,7 +23,6 @@
#include <map>
-#include "trx_vty.h"
#include "Logger.h"
#include "Threads.h"
#include "LMSDevice.h"
@@ -32,6 +31,7 @@
#include <lime/LimeSuite.h>
extern "C" {
+#include "trx_vty.h"
#include "osmo_signal.h"
#include <osmocom/core/utils.h>
}