summaryrefslogtreecommitdiffstats
path: root/gfx/thebes/gfxQuartzSurface.h
diff options
context:
space:
mode:
Diffstat (limited to 'gfx/thebes/gfxQuartzSurface.h')
-rw-r--r--gfx/thebes/gfxQuartzSurface.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/gfx/thebes/gfxQuartzSurface.h b/gfx/thebes/gfxQuartzSurface.h
index fbc081197b..cb5e54c80b 100644
--- a/gfx/thebes/gfxQuartzSurface.h
+++ b/gfx/thebes/gfxQuartzSurface.h
@@ -10,7 +10,11 @@
#include "nsSize.h"
#include "gfxPoint.h"
-#include <Carbon/Carbon.h>
+#ifdef MOZ_WIDGET_COCOA
+# include <Carbon/Carbon.h>
+#else
+# include <CoreGraphics/CoreGraphics.h>
+#endif
class gfxContext;
class gfxImageSurface;