diff --git a/gfx/src/motif/nsFontMetricsUnix.cpp b/gfx/src/motif/nsFontMetricsUnix.cpp index 3db54a0edaf7..d622a26adb37 100644 --- a/gfx/src/motif/nsFontMetricsUnix.cpp +++ b/gfx/src/motif/nsFontMetricsUnix.cpp @@ -16,6 +16,7 @@ * Reserved. */ +#include "xp_core.h" //this is a hack to get it to build. MMP #include "nsFontMetricsUnix.h" #include "nsDeviceContextUnix.h" diff --git a/gfx/src/motif/nsGfxFactoryUnix.cpp b/gfx/src/motif/nsGfxFactoryUnix.cpp index 74f2ee752e27..adbcc27fdfc1 100644 --- a/gfx/src/motif/nsGfxFactoryUnix.cpp +++ b/gfx/src/motif/nsGfxFactoryUnix.cpp @@ -16,6 +16,7 @@ * Reserved. */ +#include "xp_core.h" //this is a hack to get it to build. MMP #include "nscore.h" #include "nsIFactory.h" #include "nsISupports.h" diff --git a/gfx/src/motif/nsImageUnix.cpp b/gfx/src/motif/nsImageUnix.cpp index f92329d73098..66d37258eb63 100644 --- a/gfx/src/motif/nsImageUnix.cpp +++ b/gfx/src/motif/nsImageUnix.cpp @@ -15,6 +15,8 @@ * Copyright (C) 1998 Netscape Communications Corporation. All Rights * Reserved. */ + +#include "xp_core.h" //this is a hack to get it to build. MMP #include "nsImageUnix.h" #include "nsRenderingContextUnix.h" #include "nsDeviceContextUnix.h" diff --git a/gfx/src/motif/nsRenderingContextUnix.cpp b/gfx/src/motif/nsRenderingContextUnix.cpp index 2b674d40d6e8..298f486c3a7a 100644 --- a/gfx/src/motif/nsRenderingContextUnix.cpp +++ b/gfx/src/motif/nsRenderingContextUnix.cpp @@ -16,6 +16,8 @@ * Reserved. */ + +#include "xp_core.h" //this is a hack to get it to build. MMP #include "nsRenderingContextUnix.h" #include "nsDeviceContextUnix.h"