aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorVasil Velichkov <vvvelichkov@gmail.com>2019-01-24 18:25:44 +0200
committerPiotr Krysik <ptrkrysik@gmail.com>2019-02-05 14:28:37 +0000
commit2f0c096e30f73ef581865fbfa1ad30a9c668d1c4 (patch)
treeb64c1f28cafd1c142719cfe14cc7d8a33e37c8ad
parentca25d141f5d9ca3301ac58f82be8b61127c5ab42 (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" {