summaryrefslogtreecommitdiff
path: root/rts/PathUtils.c
diff options
context:
space:
mode:
authorHerbert Valerio Riedel <hvr@gnu.org>2017-04-23 15:28:52 +0200
committerHerbert Valerio Riedel <hvr@gnu.org>2017-04-23 15:31:44 +0200
commit0d975a623d6ad51ceb34bdb218a2d0f4a0448de6 (patch)
tree860ceee4038363dba65fb74b7f1304fbdf64c0cc /rts/PathUtils.c
parent745032dd02da511067c2939259ed212852187e0f (diff)
downloadhaskell-0d975a623d6ad51ceb34bdb218a2d0f4a0448de6.tar.gz
Minor reordering of `#include`s fixing compilation on AIX
This helps ensure that system includes on some more fragile platforms (like e.g. AIX) see a more consistent set of CPP defines, and consequently reduce the risk of conflicting typdefs/prototypes being exposed.
Diffstat (limited to 'rts/PathUtils.c')
-rw-r--r--rts/PathUtils.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/rts/PathUtils.c b/rts/PathUtils.c
index f27e03ff79..1b0b729f07 100644
--- a/rts/PathUtils.c
+++ b/rts/PathUtils.c
@@ -1,10 +1,10 @@
-#include <string.h>
-#include <stddef.h>
-
#include <Rts.h>
#include "RtsUtils.h"
#include "PathUtils.h"
+#include <string.h>
+#include <stddef.h>
+
#include <libgen.h>
#include <ctype.h>