win32: include windows.h before dbghelp.h

Günther Brammer 2011-03-12 23:45:04 +01:00
parent 506466ef2e
commit 81b9297498
5 changed files with 4 additions and 3 deletions

View File

@ -25,7 +25,7 @@
#define BITMAP256_H_INC
#ifdef _WIN32
#include <windows.h>
#include <StdWindow.h>
#else
#pragma pack(push,2)
typedef struct tagBITMAPFILEHEADER

View File

@ -30,6 +30,7 @@
#ifdef GENERATE_MINI_DUMP
// Dump generation on crash
#include <windows.h>
#include <dbghelp.h>
#include <fcntl.h>
#include <string.h>

View File

@ -23,7 +23,6 @@
#ifndef INC_StdJoystick
#define INC_StdJoystick
#include <windows.h>
#include <mmsystem.h>
const int32_t PAD_Axis_POVx = 6;

View File

@ -24,7 +24,7 @@
#define INC_STDREGISTRY
#ifdef _WIN32
#include <windows.h>
#include "StdCompiler.h"
bool DeleteRegistryValue(HKEY hKey, const char *szSubKey,
const char *szValueName);

View File

@ -26,6 +26,7 @@
#ifdef _WIN32
#pragma once
#include <StdWindow.h>
#include <windows.h> // some vfw.h versions do not compile without this
#include <mmsystem.h>
#include <vfw.h>