From dc6bc0df4ac086e4d4f3ca21eae868eda9856f64 Mon Sep 17 00:00:00 2001 From: aj Date: Fri, 5 Feb 2010 11:21:31 +0000 Subject: [PATCH] fix pthread include for win32/mingw compilation. git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@4000 c6295689-39f2-0310-b995-f0e70906c6a9 --- src/libopensc/log.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/libopensc/log.c b/src/libopensc/log.c index cea93378..e3ccc916 100644 --- a/src/libopensc/log.c +++ b/src/libopensc/log.c @@ -35,7 +35,9 @@ #ifdef HAVE_IO_H #include #endif +#ifdef HAVE_PTHREAD #include +#endif /* Although not used, we need this for consistent exports */ void _sc_debug(sc_context_t *ctx, const char *format, ...)