summaryrefslogtreecommitdiff
path: root/dmake/unix
diff options
context:
space:
mode:
authorNoel Power <nopower@suse.com>2012-02-21 16:28:16 +0100
committerPetr Mladek <pmladek@suse.cz>2012-02-21 16:34:10 +0100
commitad7f850e829a4be91725b6b7086f6a871a84bae5 (patch)
tree4e76d3d3e15d39dc3e4842f9bd33ba316f4e3952 /dmake/unix
parent5dde19c453bce729879601161f52a3185b44f195 (diff)
later cygwins have a different locaton for process.h
Signed-off-by: Petr Mladek <pmladek@suse.cz>
Diffstat (limited to 'dmake/unix')
-rw-r--r--dmake/unix/runargv.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/dmake/unix/runargv.c b/dmake/unix/runargv.c
index d4c0a21a5363..0e41c180f744 100644
--- a/dmake/unix/runargv.c
+++ b/dmake/unix/runargv.c
@@ -125,8 +125,12 @@ _finished_child(pid, status) [unix/runargv] handles the finished child. If
#endif
#if __CYGWIN__ && ENABLE_SPAWN
+#if HAVE_CYGWIN_PROCESS_H
+# include <cygwin/process.h>
+#else
# include <process.h>
#endif
+#endif
#ifdef __EMX__
# include <process.h>