summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--dom/bindings/Codegen.py6
1 files changed, 6 insertions, 0 deletions
diff --git a/dom/bindings/Codegen.py b/dom/bindings/Codegen.py
index 6b23e8225..e3cca63b6 100644
--- a/dom/bindings/Codegen.py
+++ b/dom/bindings/Codegen.py
@@ -1109,6 +1109,12 @@ class CGHeaders(CGWrapper):
# Now find all the things we'll need as arguments because we
# need to wrap or unwrap them.
bindingHeaders = set()
+
+ # KeyframeAnimationOptions.webidl is doing something VERY screwy and
+ # Unified Building really sucks so directly include this
+ if prefix == "KeyframeAnimationOptionsBinding":
+ bindingHeaders.add("mozilla/dom/PrimitiveConversions.h")
+
declareIncludes = set(declareIncludes)
def addHeadersForType((t, dictionary)):