Skip to content

Commit 6eb30a7

Browse files
committed
fix issue from include of oaidl.h
1 parent 2717bfc commit 6eb30a7

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

lib/Jsrt/ChakraCommon.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@
2525

2626
// Platform specific code
2727
#if defined(_WIN32) && defined(_MSC_VER)
28-
#include <oaidl.h>
28+
#include <windows.h>
2929

3030
// Header macros
3131
#define CHAKRA_CALLBACK CALLBACK

lib/Jsrt/ChakraCoreWindows.h

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,8 @@
1010
#ifndef _CHAKRACOREWINDOWS_H_
1111
#define _CHAKRACOREWINDOWS_H_
1212

13+
#include <rpc.h>
14+
1315
/// <summary>
1416
/// Enables out-of-process JIT by connecting to a Chakra JIT process that was initialized by calling JsInitializeJITServer
1517
/// </summary>

0 commit comments

Comments
 (0)