Update header includes
Many files include unnecessary headers and don't include headers which
are actually used. Because of that combined with the fact that OsmoPCU
is a mixture of C and C++, it makes it hard to modularize code. Fix
this (using iwyu [1] tool):
* add missing headers
* remove unused headers
[1] https://include-what-you-use.org/
Related: OS#1539
Change-Id: I8c9f488a43b099c72b2d30d3245e7ba50872fc00
diff --git a/src/tbf_ul.cpp b/src/tbf_ul.cpp
index 46d4d12..a4d3499 100644
--- a/src/tbf_ul.cpp
+++ b/src/tbf_ul.cpp
@@ -28,12 +28,21 @@
#include <gprs_bssgp_pcu.h>
#include <decoding.h>
#include <pcu_l1_if.h>
-
+#include <gprs_coding_scheme.h>
+#include <gprs_ms.h>
+#include <llc.h>
#include "pcu_utils.h"
extern "C" {
#include <osmocom/core/msgb.h>
#include <osmocom/core/talloc.h>
+ #include <osmocom/core/bitvec.h>
+ #include <osmocom/core/logging.h>
+ #include <osmocom/core/rate_ctr.h>
+ #include <osmocom/core/utils.h>
+ #include <osmocom/gprs/gprs_bssgp_bss.h>
+ #include <osmocom/gprs/protocol/gsm_08_18.h>
+ #include <osmocom/gsm/tlv.h>
}
#include <errno.h>