summaryrefslogtreecommitdiff
path: root/gfx
diff options
context:
space:
mode:
authorMoonchild <moonchild@palemoon.org>2020-05-13 14:34:14 +0000
committerMoonchild <moonchild@palemoon.org>2020-05-13 14:34:14 +0000
commit5fcf557ebf9da84d4029665c64778a02006a0d7c (patch)
tree477b711a6576e6b0965db0d545b2129bd6b5f9a3 /gfx
parent31d67b2766f2dc59acb868610290aafdf7a29920 (diff)
downloaduxp-5fcf557ebf9da84d4029665c64778a02006a0d7c.tar.gz
Issue mcp-graveyard/UXP#80 - Fix gfx/thebes Windows conditional
Diffstat (limited to 'gfx')
-rw-r--r--gfx/thebes/gfxFontInfoLoader.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/gfx/thebes/gfxFontInfoLoader.cpp b/gfx/thebes/gfxFontInfoLoader.cpp
index c865f1abed..c9abef2ea3 100644
--- a/gfx/thebes/gfxFontInfoLoader.cpp
+++ b/gfx/thebes/gfxFontInfoLoader.cpp
@@ -9,7 +9,9 @@
#include "nsThreadUtils.h" // for nsRunnable
#include "gfxPlatformFontList.h"
#include "mozilla/gfx/Logging.h"
+#ifdef XP_WIN
#include <d3d11.h>
+#endif
using namespace mozilla;
using services::GetObserverService;