From 09b1cadb452b0d5c7bbf27030bcef07477c71cbf Mon Sep 17 00:00:00 2001 From: wangyu- Date: Sun, 10 Sep 2017 11:31:55 -0500 Subject: [PATCH] trival --- cmake/CMakeLists.txt | 1 + log.h | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/cmake/CMakeLists.txt b/cmake/CMakeLists.txt index bb087fc..b138645 100644 --- a/cmake/CMakeLists.txt +++ b/cmake/CMakeLists.txt @@ -17,3 +17,4 @@ set(CMAKE_CXX_FLAGS "-Wall -Wextra -Wno-unused-variable -Wno-unused-parameter -W #set(CMAKE_LINK_LIBRARY_FLAG "-lrt") add_executable(udp2raw_cmake ${SOURCE_FILES}) target_link_libraries(udp2raw_cmake rt) +target_link_libraries(udp2raw_cmake pthread) diff --git a/log.h b/log.h index f801c9a..e14aeb5 100755 --- a/log.h +++ b/log.h @@ -3,7 +3,7 @@ #define UDP2RAW_LOG_MYLOG_H_ -#include +#include "common.h" using namespace std;