summaryrefslogtreecommitdiffstats
path: root/common/signal.c
diff options
context:
space:
mode:
authorWerner Koch <wk@gnupg.org>2010-03-02 22:25:08 +0100
committerWerner Koch <wk@gnupg.org>2010-03-02 22:25:08 +0100
commitd232fd2e543fb81151d7fe25e9f0692610870788 (patch)
tree8ce5ef17c07737c2ae873f945f99fb255f6573a3 /common/signal.c
parentFinished jnlib port to CE. (diff)
downloadgnupg2-d232fd2e543fb81151d7fe25e9f0692610870788.tar.xz
gnupg2-d232fd2e543fb81151d7fe25e9f0692610870788.zip
First steps towards the W32CE port
Diffstat (limited to 'common/signal.c')
-rw-r--r--common/signal.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/common/signal.c b/common/signal.c
index 98859a43d..2147dacab 100644
--- a/common/signal.c
+++ b/common/signal.c
@@ -21,7 +21,9 @@
#include <config.h>
#include <stdio.h>
#include <stdlib.h>
-#include <signal.h>
+#ifdef HAVE_SIGNAL_H
+# include <signal.h>
+#endif
#include <unistd.h>
#include <string.h>
#include <errno.h>