Index: src/preparser-api.cc |
diff --git a/src/preparser-api.cc b/src/preparser-api.cc |
index 80656d5d1225b863e389e018ff8cfa63a0098c70..6a4d896f7550fd0918047e16c94188a27a5328b0 100644 |
--- a/src/preparser-api.cc |
+++ b/src/preparser-api.cc |
@@ -25,14 +25,19 @@ |
// (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE |
// OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
+#ifdef _MSC_VER |
+#define V8_WIN32_LEAN_AND_MEAN |
+#include "win32-headers.h" |
+#endif |
+ |
#include "../include/v8-preparser.h" |
#include "globals.h" |
-#include "flags.h" |
#include "checks.h" |
#include "allocation.h" |
#include "utils.h" |
#include "list.h" |
+#include "hashmap.h" |
#include "scanner-base.h" |
#include "preparse-data-format.h" |
#include "preparse-data.h" |