MacOS fixes

- Include grgsm/endian.h in tch_h_decoder_impl.cc
- Revert 0ed39fbf93 as linking with
  boost_thread is needed

Fixes GH-444

Change-Id: I00884962295082cff3eb64fa21e9f73437be0001
This commit is contained in:
Vasil Velichkov 2019-01-24 18:25:44 +02:00 committed by Piotr Krysik
parent ca25d141f5
commit 2f0c096e30
2 changed files with 2 additions and 1 deletions

View File

@ -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.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" "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) if(NOT Boost_FOUND)
message(FATAL_ERROR "Boost required to compile gr-gsm") message(FATAL_ERROR "Boost required to compile gr-gsm")

View File

@ -25,6 +25,7 @@
#endif #endif
#include <grgsm/gsmtap.h> #include <grgsm/gsmtap.h>
#include <grgsm/endian.h>
#include "tch_h_decoder_impl.h" #include "tch_h_decoder_impl.h"
extern "C" { extern "C" {