summaryrefslogtreecommitdiff
path: root/hwpfilter
diff options
context:
space:
mode:
Diffstat (limited to 'hwpfilter')
-rw-r--r--hwpfilter/source/htags.h3
-rw-r--r--hwpfilter/source/precompile.h1
2 files changed, 4 insertions, 0 deletions
diff --git a/hwpfilter/source/htags.h b/hwpfilter/source/htags.h
index e306373c6812..2bf52b66a96f 100644
--- a/hwpfilter/source/htags.h
+++ b/hwpfilter/source/htags.h
@@ -21,6 +21,9 @@
#define INCLUDED_HWPFILTER_SOURCE_HTAGS_H
#include <memory>
+#ifdef _WIN32
+# include <objidl.h>
+#endif
class HWPFile;
/**
diff --git a/hwpfilter/source/precompile.h b/hwpfilter/source/precompile.h
index d10749cb1f47..218b9160edf6 100644
--- a/hwpfilter/source/precompile.h
+++ b/hwpfilter/source/precompile.h
@@ -21,6 +21,7 @@
#if defined _MSC_VER
#pragma warning(push, 1)
#endif
+ #define WIN32_LEAN_AND_MEAN
#include "windows.h"
#include "crtdbg.h"
#if defined _MSC_VER