[gjs/mozjs91: 19/21] js/CharacterEncoding.h must be included before js/String.h




commit 5b4c55d2d15071a6ced63e8a36434ba2ba0475a6
Author: Evan Welsh <contact evanwelsh com>
Date:   Sat Jul 10 20:51:09 2021 -0700

    js/CharacterEncoding.h must be included before js/String.h

 gjs/byteArray.cpp | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
---
diff --git a/gjs/byteArray.cpp b/gjs/byteArray.cpp
index 62208c69..15e23c88 100644
--- a/gjs/byteArray.cpp
+++ b/gjs/byteArray.cpp
@@ -13,12 +13,13 @@
 
 #include <js/ArrayBuffer.h>
 #include <js/CallArgs.h>
+#include <js/CharacterEncoding.h>
 #include <js/GCAPI.h>  // for AutoCheckCannotGC
 #include <js/PropertySpec.h>
 #include <js/RootingAPI.h>
 #include <js/String.h>
 #include <js/TypeDecls.h>
-#include <js/Utility.h>   // for UniqueChars
+#include <js/Utility.h>  // for UniqueChars
 #include <js/experimental/TypedData.h>
 #include <jsapi.h>        // for JS_DefineFunctionById, JS_DefineFun...
 #include <jsfriendapi.h>  // for JS_NewUint8ArrayWithBuffer, GetUint...


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]