Unbreak the GHC build with older versions of gcc
[ghc-base.git] / cbits / PrelIOUtils.c
index c1999af..be97876 100644 (file)
@@ -5,9 +5,14 @@
  */
 
 #define INLINE
-#include "HsBase.h"
+
 #ifdef __GLASGOW_HASKELL__
 # include "Stg.h"
+#endif
+
+#include "HsBase.h"
+
+#ifdef __GLASGOW_HASKELL__
 # include "RtsMessages.h"
 
 void errorBelch2(const char*s, char *t)