aboutsummaryrefslogtreecommitdiffstats
path: root/common/exechelp.c
diff options
context:
space:
mode:
Diffstat (limited to 'common/exechelp.c')
-rw-r--r--common/exechelp.c10
1 files changed, 9 insertions, 1 deletions
diff --git a/common/exechelp.c b/common/exechelp.c
index 95e5b633c..f71cd7349 100644
--- a/common/exechelp.c
+++ b/common/exechelp.c
@@ -25,7 +25,9 @@
#include <string.h>
#include <errno.h>
#include <assert.h>
-#include <signal.h>
+#ifdef HAVE_SIGNAL_H
+# include <signal.h>
+#endif
#include <unistd.h>
#include <fcntl.h>
@@ -78,6 +80,12 @@
#define X_OK F_OK
#endif /* HAVE_W32_SYSTEM */
+/* Constants not supported by WindowsCE. */
+#ifdef HAVE_W32CE_SYSTEM
+# define DETACHED_PROCESS (0)
+# define CREATE_NEW_PROCESS_GROUP (0)
+#endif
+
#ifdef HAVE_W32_SYSTEM
/* We assume that a HANDLE can be represented by an int which should