diff --git a/js/src/jsapi.h b/js/src/jsapi.h index ddb09c5442ec..0e9e39ef4353 100644 --- a/js/src/jsapi.h +++ b/js/src/jsapi.h @@ -5012,7 +5012,7 @@ JS_END_EXTERN_C namespace JS { /* Options for JavaScript compilation. */ -struct CompileOptions { +struct JS_PUBLIC_API(CompileOptions) { JSPrincipals *principals; JSPrincipals *originPrincipals; JSVersion version;