diff --git a/xpcom/base/nsISupports.idl b/xpcom/base/nsISupports.idl index dc9b5c56a811..b8a51f8cc509 100644 --- a/xpcom/base/nsISupports.idl +++ b/xpcom/base/nsISupports.idl @@ -19,8 +19,10 @@ %{C++ #include "nsDebug.h" #include "nsTraceRefcnt.h" -#include "nsID.h" #include "nsIID.h" +%} +#include "nsID.idl" +%{C++ #include "nsError.h" #include "nsISupportsUtils.h" diff --git a/xpcom/idl/nsISupports.idl b/xpcom/idl/nsISupports.idl index dc9b5c56a811..b8a51f8cc509 100644 --- a/xpcom/idl/nsISupports.idl +++ b/xpcom/idl/nsISupports.idl @@ -19,8 +19,10 @@ %{C++ #include "nsDebug.h" #include "nsTraceRefcnt.h" -#include "nsID.h" #include "nsIID.h" +%} +#include "nsID.idl" +%{C++ #include "nsError.h" #include "nsISupportsUtils.h"