aboutsummaryrefslogtreecommitdiffhomepage
path: root/include
diff options
context:
space:
mode:
authorGravatar Ian Lynagh <igloo@earth.li>2007-07-29 21:56:17 +0000
committerGravatar Ian Lynagh <igloo@earth.li>2007-07-29 21:56:17 +0000
commit7bd8a5cdd3aa22aa173a83216cc16ee5d947d33b (patch)
tree7a937308770761cc0b307c575ad5dc660cee6d10 /include
parent1061a6fa2ccc0038efd2caa70894087c880bb399 (diff)
Move System.Posix.Signals from base
Also adds System.Posix.Process.Internals in order to make the deps work out.
Diffstat (limited to 'include')
-rw-r--r--include/execvpe.h25
1 files changed, 25 insertions, 0 deletions
diff --git a/include/execvpe.h b/include/execvpe.h
new file mode 100644
index 0000000..676fc72
--- /dev/null
+++ b/include/execvpe.h
@@ -0,0 +1,25 @@
+/* ----------------------------------------------------------------------------
+ (c) The University of Glasgow 2004
+
+ Interface for code in execvpe.c
+ ------------------------------------------------------------------------- */
+
+#include "HsUnixConfig.h"
+// Otherwise these clash with similar definitions from other packages:
+#undef PACKAGE_BUGREPORT
+#undef PACKAGE_NAME
+#undef PACKAGE_STRING
+#undef PACKAGE_TARNAME
+#undef PACKAGE_VERSION
+
+#include <errno.h>
+#include <sys/types.h>
+#if HAVE_SYS_WAIT_H
+#include <sys/wait.h>
+#endif
+
+#if !defined(_MSC_VER) && !defined(__MINGW32__) && !defined(_WIN32)
+extern int execvpe(char *name, char *const argv[], char **envp);
+extern void pPrPr_disableITimers (void);
+#endif
+