[shibboleth-sp2] 12/100: Added wrapper around pthread include.

Ferenc Wágner wferi-guest at moszumanska.debian.org
Tue Jan 26 21:29:12 UTC 2016


This is an automated email from the git hooks/post-receive script.

wferi-guest pushed a commit to annotated tag 1.2.1
in repository shibboleth-sp2.

commit f533cdac7f9d19fa5562b26cee570d0378fec217
Author: Scott Cantor <cantor.2 at osu.edu>
Date:   Fri Aug 20 14:06:48 2004 +0000

    Added wrapper around pthread include.
---
 shib-target/shibrpc.h | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/shib-target/shibrpc.h b/shib-target/shibrpc.h
index d4f8322..1703e66 100644
--- a/shib-target/shibrpc.h
+++ b/shib-target/shibrpc.h
@@ -8,7 +8,9 @@
 
 #include <rpc/rpc.h>
 
-#include <pthread.h>
+#ifdef HAVE_PTHREAD
+# include <pthread.h>
+#endif
 
 #ifdef __cplusplus
 extern "C" {

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-shibboleth/shibboleth-sp2.git



More information about the Pkg-shibboleth-devel mailing list