From 31d7bdfe771853a480203d7d4a661d476d2231a4 Mon Sep 17 00:00:00 2001 From: Werner Koch Date: Wed, 14 Apr 2010 11:24:02 +0000 Subject: Whole lot of changes to support CE. --- agent/call-scd.c | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) (limited to 'agent/call-scd.c') diff --git a/agent/call-scd.c b/agent/call-scd.c index d37183ba6..0cbc836bd 100644 --- a/agent/call-scd.c +++ b/agent/call-scd.c @@ -25,7 +25,9 @@ #include #include #include -#include +#ifdef HAVE_SIGNAL_H +# include +#endif #include #include #ifndef HAVE_W32_SYSTEM @@ -385,7 +387,9 @@ start_scd (ctrl_t ctrl) xfree (databuf); } - /* Tell the scdaemon we want him to send us an event signal. */ + /* Tell the scdaemon we want him to send us an event signal. We + don't support this for W32CE. */ +#ifndef HAVE_W32CE_SYSTEM { char buf[100]; @@ -397,6 +401,7 @@ start_scd (ctrl_t ctrl) #endif assuan_transact (ctx, buf, NULL, NULL, NULL, NULL, NULL, NULL); } +#endif /*HAVE_W32CE_SYSTEM*/ primary_scd_ctx = ctx; primary_scd_ctx_reusable = 0; -- cgit v1.2.3