diff --git a/layout/generic/nsObjectFrame.h b/layout/generic/nsObjectFrame.h index 7478141458eb..39f68b7d1bae 100644 --- a/layout/generic/nsObjectFrame.h +++ b/layout/generic/nsObjectFrame.h @@ -17,6 +17,11 @@ #ifdef XP_WIN #include // For HWND :( +// Undo the windows.h damage +#undef GetMessage +#undef CreateEvent +#undef GetClassName +#undef GetBinaryType #endif class nsPresContext;