From fb3fd093536af6c4f40709b8170bf32cf435fc94 Mon Sep 17 00:00:00 2001 From: Daniel Willmann Date: Wed, 6 Mar 2019 17:09:43 +0100 Subject: Include pdch.h in bts.h even if we're not compiling C++ MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit bts.h needs pdch.h whether we're compiling C or C++ code so move it out of the #ifdef. make[1]: Entering directory '/home/daniel/scm/osmo/oc2g/osmo-pcu-oc2g/src' CC osmo-bts-oc2g/oc2g_l1_if.o In file included from osmo-bts-oc2g/oc2g_l1_if.c:39: ./bts.h:74:26: error: array type has incomplete element type ‘struct gprs_rlcmac_pdch’ struct gprs_rlcmac_pdch pdch[8]; ^~~~ Change-Id: Ib39e4424f73c677b34f921917440f211e400e14f --- src/bts.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/bts.h') diff --git a/src/bts.h b/src/bts.h index ee5a6925..767605cd 100644 --- a/src/bts.h +++ b/src/bts.h @@ -38,9 +38,9 @@ extern "C" { #include "gprs_ms_storage.h" #include "gprs_coding_scheme.h" #include -#include #endif +#include #include #define LLC_CODEL_DISABLE 0 -- cgit v1.2.3