diff --git a/Makefile b/Makefile index 5e99f9d..fd2f4d9 100644 --- a/Makefile +++ b/Makefile @@ -49,7 +49,7 @@ SRC = $(shell find . -name '*.cpp') #OBJ = $(patsubst %.cpp,%.o,$(addprefix $(BUILD_DIR)/,$(notdir $(SRC)))) OBJ = $(BUILD_DIR)/main.o -LIBS = -L./ -lpthread -luuid -ldl -ldw -lunwind -lunwind-x86_64 +LIBS = -L./ -lpthread -luuid -ldl -ldw -lunwind -lunwind-x86_64 -lstdc++ ATR_LIBS = ./build/libframework.a INCS = -I./ \ diff --git a/framework/dwarf_function.cpp b/framework/dwarf_function.cpp index 3530962..5fb79e9 100644 --- a/framework/dwarf_function.cpp +++ b/framework/dwarf_function.cpp @@ -6,6 +6,7 @@ */ #include +#include #include #include "dwarf_function.h" diff --git a/framework/sysutils.h b/framework/sysutils.h index 2793a9d..e37143c 100644 --- a/framework/sysutils.h +++ b/framework/sysutils.h @@ -9,7 +9,6 @@ #define SC_SYSUTILS_H_ //system -#include #include #include #include diff --git a/main.cpp b/main.cpp index 6a8bbd3..e4a11f0 100644 --- a/main.cpp +++ b/main.cpp @@ -1,5 +1,4 @@ //system -#include #include #include