compiles on linux

This commit is contained in:
Daniel Larimer 2013-10-14 21:46:23 +04:00
parent 760c94d20f
commit 8b2e54ca8b
2 changed files with 2 additions and 1 deletions

View file

@ -142,7 +142,7 @@ set( BOOST_LIBRARIES ${Boost_THREAD_LIBRARY} ${Boost_SYSTEM_LIBRARY} ${Boost_FIL
#add_executable( test_compress tests/compress.cpp ) #add_executable( test_compress tests/compress.cpp )
#target_link_libraries( test_compress fc ${BOOST_LIBRARIES} ) #target_link_libraries( test_compress fc ${BOOST_LIBRARIES} )
add_executable( test_aes tests/aes_test.cpp ) 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 ) #add_executable( test_sleep tests/sleep.cpp )
#target_link_libraries( test_sleep fc ${BOOST_LIBRARIES} ) #target_link_libraries( test_sleep fc ${BOOST_LIBRARIES} )

View file

@ -1,6 +1,7 @@
#include <fc/uint128.hpp> #include <fc/uint128.hpp>
#include <fc/variant.hpp> #include <fc/variant.hpp>
#include <fc/crypto/bigint.hpp> #include <fc/crypto/bigint.hpp>
#include <stdexcept>
#ifdef WIN32 #ifdef WIN32
#include <WinSock2.h> #include <WinSock2.h>
#else #else