From 8b2e54ca8ba212e8730a8d71046dac1b6f32db85 Mon Sep 17 00:00:00 2001 From: Daniel Larimer Date: Mon, 14 Oct 2013 21:46:23 +0400 Subject: [PATCH] compiles on linux --- CMakeLists.txt | 2 +- src/uint128.cpp | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) 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