Include config.h in files that test for constants defined in it.

oldstable
Dimitrie O. Paun 2000-11-25 01:31:17 +00:00 committed by Alexandre Julliard
parent 5bea4f876e
commit 0b7a7bbc06
8 changed files with 17 additions and 2 deletions

View File

@ -7,6 +7,8 @@
#include <assert.h> #include <assert.h>
#include <signal.h> #include <signal.h>
#include "config.h"
#include "winnt.h" #include "winnt.h"
#include "ntddk.h" #include "ntddk.h"
#include "global.h" #include "global.h"

View File

@ -17,6 +17,7 @@
#include "config.h" #include "config.h"
#include <stdio.h>
#include <string.h> #include <string.h>
#include <sys/types.h> #include <sys/types.h>
#ifdef HAVE_SYS_IPC_H #ifdef HAVE_SYS_IPC_H

View File

@ -5,6 +5,8 @@
*/ */
#include <string.h> #include <string.h>
#include "config.h"
#include "winerror.h" #include "winerror.h"
#include "wine/winbase16.h" #include "wine/winbase16.h"
#include "ldt.h" #include "ldt.h"

View File

@ -6,6 +6,8 @@
#include <unistd.h> #include <unistd.h>
#include <string.h> #include <string.h>
#include "config.h"
#include "windef.h" #include "windef.h"
#include "wine/winbase16.h" #include "wine/winbase16.h"
#include "ldt.h" #include "ldt.h"
@ -110,7 +112,7 @@ DPMI_xfree(LPVOID ptr) {
/* FIXME: perhaps we could grow this mapped area... */ /* FIXME: perhaps we could grow this mapped area... */
static LPVOID static LPVOID
DPMI_xrealloc(LPVOID ptr,int newsize) { DPMI_xrealloc(LPVOID ptr,DWORD newsize) {
MEMORY_BASIC_INFORMATION mbi; MEMORY_BASIC_INFORMATION mbi;
LPVOID newptr; LPVOID newptr;
@ -899,7 +901,7 @@ void WINAPI INT_Int31Handler( CONTEXT86 *context )
SET_CFLAG(context); SET_CFLAG(context);
break; break;
case 0x0201: /* set real mode interrupt vector */ case 0x0201: /* set real mode interrupt vector */
FIXME("set realmode interupt vector(0x%02x,0x%04x:0x%04x) unimplemented\n", BL_reg(context),CX_reg(context),DX_reg(context)); FIXME("set realmode interrupt vector(0x%02x,0x%04x:0x%04x) unimplemented\n", BL_reg(context),CX_reg(context),DX_reg(context));
SET_CFLAG(context); SET_CFLAG(context);
break; break;
case 0x0204: /* Get protected mode interrupt vector */ case 0x0204: /* Get protected mode interrupt vector */

View File

@ -3,6 +3,8 @@
*/ */
#include <stdlib.h> #include <stdlib.h>
#include "config.h"
#include "windows.h" #include "windows.h"
#include "miscemu.h" #include "miscemu.h"
#include "msdos.h" #include "msdos.h"

View File

@ -8,6 +8,8 @@
#include <assert.h> #include <assert.h>
#include <string.h> #include <string.h>
#include <stdio.h> #include <stdio.h>
#include "config.h"
#include "winnt.h" #include "winnt.h"
#include "selectors.h" #include "selectors.h"
#include "stackframe.h" #include "stackframe.h"

View File

@ -8,6 +8,8 @@
#include <errno.h> #include <errno.h>
#include <stdio.h> #include <stdio.h>
#include <sys/types.h> #include <sys/types.h>
#include "config.h"
#include "winerror.h" #include "winerror.h"
#include "winbase.h" #include "winbase.h"
#include "ntddk.h" #include "ntddk.h"

View File

@ -8,6 +8,8 @@
#include <stdio.h> #include <stdio.h>
#include <sys/types.h> #include <sys/types.h>
#include <sys/uio.h> #include <sys/uio.h>
#include "config.h"
#include "winsock2.h" #include "winsock2.h"
#include "winnt.h" #include "winnt.h"
#include "winbase.h" #include "winbase.h"