diff --git a/CMakeLists.txt b/CMakeLists.txt index 3846c18..a85230f 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -142,7 +142,7 @@ set( BOOST_LIBRARIES ${Boost_THREAD_LIBRARY} ${Boost_SYSTEM_LIBRARY} ${Boost_FIL #add_executable( test_compress tests/compress.cpp ) #target_link_libraries( test_compress fc ${BOOST_LIBRARIES} ) add_executable( test_aes tests/aes_test.cpp ) -target_link_libraries( test_aes fc ${BOOST_LIBRARIES} ) +target_link_libraries( test_aes ${pthread_library} ${rt_library} fc ${BOOST_LIBRARIES} ${rt_library} ${pthread_library} ${BOOST_LIBRARIES} ) #add_executable( test_sleep tests/sleep.cpp ) #target_link_libraries( test_sleep fc ${BOOST_LIBRARIES} ) diff --git a/src/uint128.cpp b/src/uint128.cpp index df49fb8..2912644 100644 --- a/src/uint128.cpp +++ b/src/uint128.cpp @@ -1,6 +1,7 @@ #include #include #include +#include #ifdef WIN32 #include #else