aboutsummaryrefslogtreecommitdiffstats
path: root/src/poll_controller.cpp
diff options
context:
space:
mode:
authorMax <msuraev@sysmocom.de>2018-01-26 13:31:42 +0100
committerNeels Hofmeyr <neels@hofmeyr.de>2018-02-27 22:27:53 +0100
commit6d6dea05a38200d5184e8df30326b4cc65f4f692 (patch)
tree8f9ba01c6bb5467ee6d6f325e4f8c6754f427c8e /src/poll_controller.cpp
parent6d026d26cd54a3a0096fd95fbafa1c7411a5aa0f (diff)
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
Diffstat (limited to 'src/poll_controller.cpp')
-rw-r--r--src/poll_controller.cpp7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/poll_controller.cpp b/src/poll_controller.cpp
index 5c5a7177..744b612f 100644
--- a/src/poll_controller.cpp
+++ b/src/poll_controller.cpp
@@ -23,6 +23,13 @@
#include <poll_controller.h>
#include <bts.h>
#include <tbf.h>
+#include <cxx_linuxlist.h>
+#include <sba.h>
+
+extern "C" {
+#include <osmocom/core/linuxlist.h>
+#include <osmocom/gsm/gsm_utils.h>
+}
PollController::PollController(BTS& bts)
: m_bts(bts)