diff --git a/js/src/jsapi-tests/testPromise.cpp b/js/src/jsapi-tests/testPromise.cpp index 5b49109739f3..0df22f7fc4c7 100644 --- a/js/src/jsapi-tests/testPromise.cpp +++ b/js/src/jsapi-tests/testPromise.cpp @@ -5,8 +5,12 @@ * License, v. 2.0. If a copy of the MPL was not distributed with this * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ +#include "jsapi.h" + #include "jsapi-tests/tests.h" +using namespace JS; + static bool executor_called = false; static bool