From 9af15eeec06420d833694a93e4719bcc837feec0 Mon Sep 17 00:00:00 2001 From: heck Date: Mon, 12 Jul 2021 12:34:13 +0200 Subject: [PATCH] Test: PityTest - Fix linux build --- Makefile | 2 +- src/PityTree.hh | 1 + src/PityTree.hxx | 1 + 3 files changed, 3 insertions(+), 1 deletion(-) diff --git a/Makefile b/Makefile index ed6faae..fa093cb 100644 --- a/Makefile +++ b/Makefile @@ -2,7 +2,7 @@ include ../../Makefile.conf TARGET=src/libPityTest.a LDFLAGS:=-L../../src/ $(LDFLAGS) -L../framework/ -LDLIBS=-lstdc++ -lpEpAdapter -lpEpEngine +LDLIBS=-lstdc++ -lpEpAdapter -lpEpEngine -lpthread -ldl CXXFLAGS:=-std=c++11 -g -I./src $(CXXFLAGS) TEST_EXTRA_OBJS=../framework/utils.o diff --git a/src/PityTree.hh b/src/PityTree.hh index c1a5bf8..eafa01a 100644 --- a/src/PityTree.hh +++ b/src/PityTree.hh @@ -10,6 +10,7 @@ #include #include #include +#include namespace pEp { namespace PityTest11 { diff --git a/src/PityTree.hxx b/src/PityTree.hxx index 8cc6c6f..9215175 100644 --- a/src/PityTree.hxx +++ b/src/PityTree.hxx @@ -7,6 +7,7 @@ #include "PityTree.hh" #include #include +#include namespace pEp { namespace PityTest11 {