aboutsummaryrefslogtreecommitdiffhomepage
path: root/cbits/ghcrts.c
diff options
context:
space:
mode:
Diffstat (limited to 'cbits/ghcrts.c')
-rw-r--r--cbits/ghcrts.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/cbits/ghcrts.c b/cbits/ghcrts.c
index 1e0dc1c..9003675 100644
--- a/cbits/ghcrts.c
+++ b/cbits/ghcrts.c
@@ -1,10 +1,11 @@
-#include "execvpe.h"
-
#ifdef __GLASGOW_HASKELL__
// for 'void StopTimer(void)' prototype
# include "Rts.h"
#endif
+#define HSUNIX_EXECVPE_H_NO_COMPAT
+#include "execvpe.h"
+
/* Copied verbatim from ghc/lib/std/cbits/system.c. */
void pPrPr_disableITimers (void)
{