aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorVasil Velichkov <vvvelichkov@gmail.com>2019-01-24 18:25:44 +0200
committerPiotr Krysik <ptrkrysik@gmail.com>2019-07-18 10:31:27 +0200
commit4b034e714153f8d72ab85ae1b52f91fb2e65905e (patch)
treeb33262a3fc9d22218b8f2265249446c519bdc60f
parent6feac435ed31c77c6cf55a3da0cc2db2cbe1461e (diff)
MacOS fixes
- Include grgsm/endian.h in tch_h_decoder_impl.cc - Revert 0ed39fbf9340bdfb254bec5e3b94d9f00cf9d151 as linking with boost_thread is needed Fixes GH-444 Change-Id: I00884962295082cff3eb64fa21e9f73437be0001
-rw-r--r--CMakeLists.txt2
-rw-r--r--lib/decoding/tch_h_decoder_impl.cc1
2 files changed, 2 insertions, 1 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index d539b24..27a3df7 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -88,7 +88,7 @@ set(Boost_ADDITIONAL_VERSIONS
"1.60.0" "1.60" "1.61.0" "1.61" "1.62.0" "1.62" "1.63.0" "1.63" "1.64.0" "1.64"
"1.65.0" "1.65" "1.66.0" "1.66" "1.67.0" "1.67" "1.68.0" "1.68" "1.69.0" "1.69"
)
-find_package(Boost "1.35" COMPONENTS filesystem system)# thread)
+find_package(Boost "1.35" COMPONENTS filesystem system thread)
if(NOT Boost_FOUND)
message(FATAL_ERROR "Boost required to compile gr-gsm")
diff --git a/lib/decoding/tch_h_decoder_impl.cc b/lib/decoding/tch_h_decoder_impl.cc
index d2f29c7..11da907 100644
--- a/lib/decoding/tch_h_decoder_impl.cc
+++ b/lib/decoding/tch_h_decoder_impl.cc
@@ -25,6 +25,7 @@
#endif
#include <grgsm/gsmtap.h>
+#include <grgsm/endian.h>
#include "tch_h_decoder_impl.h"
extern "C" {