summaryrefslogtreecommitdiff
path: root/core/src/fpdfapi/fpdf_cmaps/cmap_int.h
diff options
context:
space:
mode:
Diffstat (limited to 'core/src/fpdfapi/fpdf_cmaps/cmap_int.h')
-rw-r--r--core/src/fpdfapi/fpdf_cmaps/cmap_int.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/core/src/fpdfapi/fpdf_cmaps/cmap_int.h b/core/src/fpdfapi/fpdf_cmaps/cmap_int.h
index 68856b2ada..98b64ed8ec 100644
--- a/core/src/fpdfapi/fpdf_cmaps/cmap_int.h
+++ b/core/src/fpdfapi/fpdf_cmaps/cmap_int.h
@@ -7,8 +7,11 @@
#ifndef CORE_SRC_FPDFAPI_FPDF_CMAPS_CMAP_INT_H_
#define CORE_SRC_FPDFAPI_FPDF_CMAPS_CMAP_INT_H_
+#include "../../../include/fxcrt/fx_system.h" // For FX_WORD.
+
struct FXCMAP_CMap {
- typedef enum { None, Single, Range, Reverse } MapType;
+ enum MapType { None, Single, Range, Reverse };
+
const char* m_Name;
MapType m_WordMapType;
const FX_WORD* m_pWordMap;