diff --git a/dom/bindings/Codegen.py b/dom/bindings/Codegen.py index 6a898583bc3a..56e185352c92 100644 --- a/dom/bindings/Codegen.py +++ b/dom/bindings/Codegen.py @@ -3461,7 +3461,7 @@ class CGBindingRoot(CGThing): ['mozilla/dom/BindingUtils.h', 'mozilla/dom/DOMJSClass.h'], ['mozilla/dom/Nullable.h', - 'mozilla/dom/PrimitiveConversions.h', + 'PrimitiveConversions.h', 'XPCQuickStubs.h', 'nsDOMQS.h', 'AccessCheck.h', diff --git a/dom/bindings/Makefile.in b/dom/bindings/Makefile.in index 2d386d3deef9..052c6e6b6192 100644 --- a/dom/bindings/Makefile.in +++ b/dom/bindings/Makefile.in @@ -64,7 +64,6 @@ EXPORTS_$(binding_include_path) = \ PrototypeList.h \ RegisterBindings.h \ Nullable.h \ - PrimitiveConversions.h \ TypedArray.h \ BindingUtils.h \ $(exported_binding_headers) \ diff --git a/dom/bindings/PrimitiveConversions.h b/dom/bindings/PrimitiveConversions.h index c05cb9d9ded9..4e944563062c 100644 --- a/dom/bindings/PrimitiveConversions.h +++ b/dom/bindings/PrimitiveConversions.h @@ -11,6 +11,8 @@ #ifndef mozilla_dom_PrimitiveConversions_h #define mozilla_dom_PrimitiveConversions_h +#include "xpcpublic.h" + namespace mozilla { namespace dom { diff --git a/dom/bindings/test/Makefile.in b/dom/bindings/test/Makefile.in index 9a1325c1011f..76e64233a658 100644 --- a/dom/bindings/test/Makefile.in +++ b/dom/bindings/test/Makefile.in @@ -31,6 +31,7 @@ CPPSRCS := $(subst .webidl,Binding.cpp,$(test_webidl_files)) LOCAL_INCLUDES += \ -I$(topsrcdir)/js/xpconnect/src \ -I$(topsrcdir)/js/xpconnect/wrappers \ + -I$(topsrcdir)/dom/bindings \ $(NULL) include $(topsrcdir)/config/rules.mk