Skip to content

Commit 13937e7

Browse files
committed
1 parent 5aca728 commit 13937e7

2 files changed

Lines changed: 16 additions & 0 deletions

File tree

patches/win/pdfium.patch

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
diff --git a/core/fxge/cfx_renderdevice.h b/core/fxge/cfx_renderdevice.h
2+
index 8f427ce01..4114b9884 100644
3+
--- a/core/fxge/cfx_renderdevice.h
4+
+++ b/core/fxge/cfx_renderdevice.h
5+
@@ -19,6 +19,10 @@
6+
#include "core/fxge/dib/fx_dib.h"
7+
#include "core/fxge/renderdevicedriver_iface.h"
8+
9+
+#if BUILDFLAG(IS_WIN)
10+
+#include <windows.h>
11+
+#endif
12+
+
13+
class CFX_DIBBase;
14+
class CFX_DIBitmap;
15+
class CFX_Font;

steps/03-patch.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -59,6 +59,7 @@ case "$OS" in
5959
;;
6060

6161
win)
62+
apply_patch "$PATCHES/win/pdfium.patch"
6263
apply_patch "$PATCHES/win/build.patch" build
6364

6465
VERSION=${PDFium_VERSION:-0.0.0.0}

0 commit comments

Comments
 (0)