File bytestring.patch of Package ghc
Index: ghc-9.4.6/libraries/bytestring/cbits/is-valid-utf8.c =================================================================== --- ghc-9.4.6.orig/libraries/bytestring/cbits/is-valid-utf8.c +++ ghc-9.4.6/libraries/bytestring/cbits/is-valid-utf8.c @@ -50,7 +50,7 @@ SUCH DAMAGE. #endif #include <MachDeps.h> -#include "Rts.h" +#include "ghcplatform.h" #ifdef WORDS_BIGENDIAN #define to_little_endian(x) __builtin_bswap64(x)