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
This commit is contained in:
Vadim Yanitskiy 2020-10-24 19:18:13 +07:00
parent c5989fe180
commit a0d862ba1d
1 changed files with 1 additions and 1 deletions

View File

@ -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>
}