aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDaniel Willmann <dwillmann@sysmocom.de>2019-03-06 17:09:43 +0100
committerDaniel Willmann <dwillmann@sysmocom.de>2019-03-26 09:29:17 +0000
commitfb3fd093536af6c4f40709b8170bf32cf435fc94 (patch)
tree8f30c7ec30b5d9c14466b114296a49cff07af22d
parenta4de02db5db1e90eee071d62a4a502d8cde4b8a7 (diff)
Include pdch.h in bts.h even if we're not compiling C++
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
-rw-r--r--src/bts.h2
1 files changed, 1 insertions, 1 deletions
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 <cxx_linuxlist.h>
-#include <pdch.h>
#endif
+#include <pdch.h>
#include <stdint.h>
#define LLC_CODEL_DISABLE 0