summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBen Gamari <ben@smart-cactus.org>2019-11-07 06:09:44 -0500
committerMarge Bot <ben+marge-bot@smart-cactus.org>2019-11-09 18:03:38 -0500
commita50ecda625823e1a80f32d1313a379f77f877153 (patch)
treef9e67752e6d79f1f927d0451d6df9d6f58ff008a
parent7c63edb4959037b9c2912ad4a75465d24907d75d (diff)
downloadhaskell-a50ecda625823e1a80f32d1313a379f77f877153.tar.gz
testsuite: Fix header #include order on Windows
<Rts.h> must always come first.
-rw-r--r--testsuite/tests/rts/linker/unload_multiple_objs/linker_unload_multiple_objs.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/testsuite/tests/rts/linker/unload_multiple_objs/linker_unload_multiple_objs.c b/testsuite/tests/rts/linker/unload_multiple_objs/linker_unload_multiple_objs.c
index d64246ed4f..b076809a6b 100644
--- a/testsuite/tests/rts/linker/unload_multiple_objs/linker_unload_multiple_objs.c
+++ b/testsuite/tests/rts/linker/unload_multiple_objs/linker_unload_multiple_objs.c
@@ -1,9 +1,10 @@
+#include "Rts.h"
#include "ghcconfig.h"
+#include "HsFFI.h"
+
#include <stdio.h>
#include <stdlib.h>
-#include "Rts.h"
#include <string.h>
-#include "HsFFI.h"
extern void loadPackages(void);