From 6c3b00dc86c0d17a910a5df8e240fda483f75291 Mon Sep 17 00:00:00 2001 From: miha_vitorovic Date: Thu, 6 Jan 2011 09:49:22 +0100 Subject: [PATCH] configure/CONFIG_SITE: - added explicit instructions to link pthread library, since it is not included by default on Fedora linux (possibly others?) testRemoteClientImpl.cpp: - added "#include " needed for std::auto_ptr --- configure/CONFIG_SITE | 2 ++ testApp/remote/testRemoteClientImpl.cpp | 1 + 2 files changed, 3 insertions(+) diff --git a/configure/CONFIG_SITE b/configure/CONFIG_SITE index f3bfd36..287667b 100644 --- a/configure/CONFIG_SITE +++ b/configure/CONFIG_SITE @@ -23,3 +23,5 @@ # You must rebuild in the iocBoot directory for this to # take effect. #IOCS_APPL_TOP = + +USR_LDFLAGS += -lpthread diff --git a/testApp/remote/testRemoteClientImpl.cpp b/testApp/remote/testRemoteClientImpl.cpp index 11893a8..846d7c7 100644 --- a/testApp/remote/testRemoteClientImpl.cpp +++ b/testApp/remote/testRemoteClientImpl.cpp @@ -8,6 +8,7 @@ #include #include #include +#include #include #include