1 diff --git a/src/podofo/base/PdfCompilerCompat.h b/src/podofo/base/PdfCompilerCompat.h
2 index 146731d..7041712 100644
3 --- a/src/podofo/base/PdfCompilerCompat.h
4 +++ b/src/podofo/base/PdfCompilerCompat.h
9 +#if defined(WINAPI_FAMILY) && (WINAPI_FAMILY == WINAPI_FAMILY_APP)
10 +#include <combaseapi.h>
13 // Integer types - fixed size types guaranteed to work anywhere
14 // because we detect the right underlying type name to use with
15 // CMake. Use typedefs rather than macros for saner error messages