Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-winehq
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wine
wine-winehq
Commits
1425941e
Commit
1425941e
authored
Nov 06, 2001
by
François Gouget
Committed by
Alexandre Julliard
Nov 06, 2001
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix the #include order for config.h.
Add #include "config.h" directives where needed.
parent
2663b80f
Hide whitespace changes
Inline
Side-by-side
Showing
66 changed files
with
155 additions
and
66 deletions
+155
-66
configure
configure
+5
-0
configure.in
configure.in
+3
-0
xterm.c
console/xterm.c
+2
-0
menu.c
controls/menu.c
+1
-0
mesa.c
dlls/ddraw/mesa.c
+2
-0
dplay.c
dlls/dplayx/dplay.c
+1
-0
comm.c
dlls/kernel/comm.c
+1
-0
msvcrt.h
dlls/msvcrt/msvcrt.h
+4
-4
misc.c
dlls/ntdll/misc.c
+3
-2
proxyodbc.c
dlls/odbc32/proxyodbc.c
+1
-0
bitmap.c
dlls/ttydrv/bitmap.c
+3
-0
objects.c
dlls/ttydrv/objects.c
+2
-0
palette.c
dlls/ttydrv/palette.c
+2
-0
ttydrv.h
dlls/ttydrv/ttydrv.h
+3
-1
user.c
dlls/ttydrv/user.c
+2
-0
oss.h
dlls/winmm/wineoss/oss.h
+3
-1
async.c
dlls/winsock/async.c
+1
-0
socket.c
dlls/winsock/socket.c
+1
-0
dga2.h
dlls/x11drv/dga2.h
+5
-1
x11ddraw.h
dlls/x11drv/x11ddraw.h
+5
-1
xvidmode.h
dlls/x11drv/xvidmode.h
+5
-1
drive.c
files/drive.c
+1
-0
cdrom.h
include/cdrom.h
+4
-1
config.h.in
include/config.h.in
+3
-0
console.h
include/console.h
+4
-1
gdi.h
include/gdi.h
+0
-2
heap.h
include/heap.h
+1
-2
thread.h
include/thread.h
+0
-2
ts_shape.h
include/ts_shape.h
+4
-3
ts_xf86dga.h
include/ts_xf86dga.h
+4
-3
ts_xf86dga2.h
include/ts_xf86dga2.h
+4
-3
ts_xf86vmode.h
include/ts_xf86vmode.h
+4
-3
ts_xlib.h
include/ts_xlib.h
+4
-3
ts_xpm.h
include/ts_xpm.h
+4
-3
ts_xrender.h
include/ts_xrender.h
+4
-3
ts_xresource.h
include/ts_xresource.h
+4
-3
ts_xshm.h
include/ts_xshm.h
+4
-3
ts_xutil.h
include/ts_xutil.h
+5
-4
ts_xvideo.h
include/ts_xvideo.h
+4
-3
port.h
include/wine/port.h
+3
-1
wine_gl.h
include/wine_gl.h
+3
-1
x11drv.h
include/x11drv.h
+3
-1
port.c
library/port.c
+1
-0
elf.c
loader/elf.c
+1
-0
module.c
loader/ne/module.c
+1
-0
resource.c
loader/ne/resource.c
+1
-0
global.c
memory/global.c
+1
-0
virtual.c
memory/virtual.c
+1
-0
cpu.c
misc/cpu.c
+1
-0
dosmem.c
msdos/dosmem.c
+2
-1
dpmi.c
msdos/dpmi.c
+1
-0
int10.c
msdos/int10.c
+3
-0
client.c
scheduler/client.c
+1
-0
sysdeps.c
scheduler/sysdeps.c
+1
-0
thread.c
scheduler/thread.c
+1
-0
request.c
server/request.c
+1
-0
make_X11wrappers
tools/make_X11wrappers
+4
-3
build.h
tools/winebuild/build.h
+4
-1
spec16.c
tools/winebuild/spec16.c
+1
-0
utils.c
tools/winebuild/utils.c
+2
-0
parser.l
tools/wrc/parser.l
+0
-2
ppl.l
tools/wrc/ppl.l
+0
-2
device.c
win32/device.c
+1
-0
class.c
windows/class.c
+1
-0
dialog.c
windows/dialog.c
+1
-0
clipboard.c
windows/x11drv/clipboard.c
+2
-1
No files found.
configure
View file @
1425941e
...
@@ -6925,6 +6925,11 @@ fi
...
@@ -6925,6 +6925,11 @@ fi
cat
>>
confdefs.h
<<
\
EOF
#define __WINE_CONFIG_H 1
EOF
MAKE_RULES
=
Make.rules
MAKE_RULES
=
Make.rules
...
...
configure.in
View file @
1425941e
...
@@ -1182,6 +1182,9 @@ AC_SUBST(GCC_NO_BUILTIN)
...
@@ -1182,6 +1182,9 @@ AC_SUBST(GCC_NO_BUILTIN)
dnl **** Generate output files ****
dnl **** Generate output files ****
AC_DEFINE(__WINE_CONFIG_H, 1,
[This must always be defined to allow checking for config.h inclusion])
AC_OUTPUT_COMMANDS([
AC_OUTPUT_COMMANDS([
extra_subdirs="\
extra_subdirs="\
dlls/ddraw/d3ddevice \
dlls/ddraw/d3ddevice \
...
...
console/xterm.c
View file @
1425941e
...
@@ -8,6 +8,8 @@
...
@@ -8,6 +8,8 @@
It does not currently support changing the title bar.
It does not currently support changing the title bar.
*/
*/
#include "config.h"
#include <stdlib.h>
#include <stdlib.h>
#include <stdio.h>
#include <stdio.h>
#include <signal.h>
#include <signal.h>
...
...
controls/menu.c
View file @
1425941e
...
@@ -12,6 +12,7 @@
...
@@ -12,6 +12,7 @@
* This is probably not the meaning this style has in MS-Windows.
* This is probably not the meaning this style has in MS-Windows.
*/
*/
#include "config.h"
#include "wine/port.h"
#include "wine/port.h"
#include <assert.h>
#include <assert.h>
...
...
dlls/ddraw/mesa.c
View file @
1425941e
...
@@ -3,6 +3,8 @@
...
@@ -3,6 +3,8 @@
This file contains all MESA common code */
This file contains all MESA common code */
#include "config.h"
#include "windef.h"
#include "windef.h"
#include "wine/obj_base.h"
#include "wine/obj_base.h"
#include "ddraw.h"
#include "ddraw.h"
...
...
dlls/dplayx/dplay.c
View file @
1425941e
...
@@ -6,6 +6,7 @@
...
@@ -6,6 +6,7 @@
*
*
*/
*/
#include "config.h"
#include "wine/port.h"
#include "wine/port.h"
#include <string.h>
#include <string.h>
...
...
dlls/kernel/comm.c
View file @
1425941e
...
@@ -32,6 +32,7 @@
...
@@ -32,6 +32,7 @@
*
*
*/
*/
#include "config.h"
#include "wine/port.h"
#include "wine/port.h"
#include <stdlib.h>
#include <stdlib.h>
...
...
dlls/msvcrt/msvcrt.h
View file @
1425941e
#ifndef __WINE_MSVCRT_H
#ifndef __WINE_MSVCRT_H
#define __WINE_MSVCRT_H
#define __WINE_MSVCRT_H
#include "config.h"
#include <stdarg.h>
#include <ctype.h>
#include <string.h>
#include "windef.h"
#include "windef.h"
#include "debugtools.h"
#include "debugtools.h"
#include "winbase.h"
#include "winbase.h"
#include "winerror.h"
#include "winerror.h"
#include "winnls.h"
#include "winnls.h"
#include <stdarg.h>
#include <ctype.h>
#include <string.h>
/* TLS data */
/* TLS data */
extern
DWORD
MSVCRT_tls_index
;
extern
DWORD
MSVCRT_tls_index
;
...
...
dlls/ntdll/misc.c
View file @
1425941e
/*
/*
* Helper functions for ntdll
* Helper functions for ntdll
*/
*/
#include <time.h>
#include <math.h>
#include "config.h"
#include "config.h"
#include <time.h>
#include <math.h>
#include "debugtools.h"
#include "debugtools.h"
#include "ntdll_misc.h"
#include "ntdll_misc.h"
...
...
dlls/odbc32/proxyodbc.c
View file @
1425941e
...
@@ -9,6 +9,7 @@
...
@@ -9,6 +9,7 @@
*
*
*/
*/
#include "config.h"
#include "wine/port.h"
#include "wine/port.h"
#include <stdio.h>
#include <stdio.h>
...
...
dlls/ttydrv/bitmap.c
View file @
1425941e
...
@@ -4,7 +4,10 @@
...
@@ -4,7 +4,10 @@
* Copyright 1999 Patrik Stridvall
* Copyright 1999 Patrik Stridvall
*/
*/
#include "config.h"
#include <string.h>
#include <string.h>
#include "bitmap.h"
#include "bitmap.h"
#include "gdi.h"
#include "gdi.h"
#include "ttydrv.h"
#include "ttydrv.h"
...
...
dlls/ttydrv/objects.c
View file @
1425941e
...
@@ -4,6 +4,8 @@
...
@@ -4,6 +4,8 @@
* Copyright 1999 Patrik Stridvall
* Copyright 1999 Patrik Stridvall
*/
*/
#include "config.h"
#include "bitmap.h"
#include "bitmap.h"
#include "gdi.h"
#include "gdi.h"
#include "ttydrv.h"
#include "ttydrv.h"
...
...
dlls/ttydrv/palette.c
View file @
1425941e
...
@@ -4,6 +4,8 @@
...
@@ -4,6 +4,8 @@
* Copyright 1999 Patrik Stridvall
* Copyright 1999 Patrik Stridvall
*/
*/
#include "config.h"
#include <stdlib.h>
#include <stdlib.h>
#include "color.h"
#include "color.h"
...
...
dlls/ttydrv/ttydrv.h
View file @
1425941e
...
@@ -5,7 +5,9 @@
...
@@ -5,7 +5,9 @@
#ifndef __WINE_TTYDRV_H
#ifndef __WINE_TTYDRV_H
#define __WINE_TTYDRV_H
#define __WINE_TTYDRV_H
#include "config.h"
#ifndef __WINE_CONFIG_H
# error You must include config.h to use this header
#endif
#undef ERR
#undef ERR
#ifdef HAVE_NCURSES_H
#ifdef HAVE_NCURSES_H
...
...
dlls/ttydrv/user.c
View file @
1425941e
...
@@ -4,6 +4,8 @@
...
@@ -4,6 +4,8 @@
* Copyright 1998 Patrik Stridvall
* Copyright 1998 Patrik Stridvall
*/
*/
#include "config.h"
#include "dinput.h"
#include "dinput.h"
#include "gdi.h"
#include "gdi.h"
#include "ttydrv.h"
#include "ttydrv.h"
...
...
dlls/winmm/wineoss/oss.h
View file @
1425941e
/* Definition for OSS drivers : wine multimedia system */
/* Definition for OSS drivers : wine multimedia system */
#include "config.h"
#ifndef __WINE_CONFIG_H
# error You must include config.h to use this header
#endif
#if defined(HAVE_SYS_SOUNDCARD_H)
#if defined(HAVE_SYS_SOUNDCARD_H)
# include <sys/soundcard.h>
# include <sys/soundcard.h>
...
...
dlls/winsock/async.c
View file @
1425941e
...
@@ -19,6 +19,7 @@
...
@@ -19,6 +19,7 @@
* whole stuff did not work anyway to other changes).
* whole stuff did not work anyway to other changes).
*/
*/
#include "config.h"
#include "wine/port.h"
#include "wine/port.h"
#include <string.h>
#include <string.h>
...
...
dlls/winsock/socket.c
View file @
1425941e
...
@@ -15,6 +15,7 @@
...
@@ -15,6 +15,7 @@
* ws_XXXXent32 (winsock2.h) and 1-byte forced ws_XXXXent16 (winsock16.h).
* ws_XXXXent32 (winsock2.h) and 1-byte forced ws_XXXXent16 (winsock16.h).
*/
*/
#include "config.h"
#include "wine/port.h"
#include "wine/port.h"
#include <stdio.h>
#include <stdio.h>
...
...
dlls/x11drv/dga2.h
View file @
1425941e
...
@@ -5,7 +5,11 @@
...
@@ -5,7 +5,11 @@
*/
*/
#ifndef __WINE_DGA2_H
#ifndef __WINE_DGA2_H
#define __WINE_DGA2_H
#define __WINE_DGA2_H
#include "config.h"
#ifndef __WINE_CONFIG_H
# error You must include config.h to use this header
#endif
#ifdef HAVE_LIBXXF86DGA2
#ifdef HAVE_LIBXXF86DGA2
#include "ddrawi.h"
#include "ddrawi.h"
...
...
dlls/x11drv/x11ddraw.h
View file @
1425941e
...
@@ -5,7 +5,11 @@
...
@@ -5,7 +5,11 @@
*/
*/
#ifndef __WINE_X11DDRAW_H
#ifndef __WINE_X11DDRAW_H
#define __WINE_X11DDRAW_H
#define __WINE_X11DDRAW_H
#include "config.h"
#ifndef __WINE_CONFIG_H
# error You must include config.h to use this header
#endif
#include "ddrawi.h"
#include "ddrawi.h"
extern
LPDDRAWI_DDRAWSURFACE_LCL
X11DRV_DD_Primary
;
extern
LPDDRAWI_DDRAWSURFACE_LCL
X11DRV_DD_Primary
;
...
...
dlls/x11drv/xvidmode.h
View file @
1425941e
...
@@ -5,7 +5,11 @@
...
@@ -5,7 +5,11 @@
*/
*/
#ifndef __WINE_XVIDMODE_H
#ifndef __WINE_XVIDMODE_H
#define __WINE_XVIDMODE_H
#define __WINE_XVIDMODE_H
#include "config.h"
#ifndef __WINE_CONFIG_H
# error You must include config.h to use this header
#endif
#ifdef HAVE_LIBXXF86VM
#ifdef HAVE_LIBXXF86VM
#include "ddrawi.h"
#include "ddrawi.h"
...
...
files/drive.c
View file @
1425941e
...
@@ -10,6 +10,7 @@
...
@@ -10,6 +10,7 @@
*
*
*/
*/
#include "config.h"
#include "wine/port.h"
#include "wine/port.h"
#include <assert.h>
#include <assert.h>
...
...
include/cdrom.h
View file @
1425941e
...
@@ -10,9 +10,12 @@
...
@@ -10,9 +10,12 @@
#ifndef __WINE_CDROM_H__
#ifndef __WINE_CDROM_H__
#define __WINE_CDROM_H__
#define __WINE_CDROM_H__
#ifndef __WINE_CONFIG_H
# error You must include config.h to use this header
#endif
#include <stdlib.h>
#include <stdlib.h>
#include <unistd.h>
#include <unistd.h>
#include "config.h"
#include "windef.h"
#include "windef.h"
#include "wine/windef16.h"
#include "wine/windef16.h"
...
...
include/config.h.in
View file @
1425941e
...
@@ -538,3 +538,6 @@
...
@@ -538,3 +538,6 @@
/* Define if struct sockaddr_un contains sun_len */
/* Define if struct sockaddr_un contains sun_len */
#undef HAVE_SOCKADDR_SUN_LEN
#undef HAVE_SOCKADDR_SUN_LEN
/* This must always be defined to allow checking for config.h inclusion */
#undef __WINE_CONFIG_H
include/console.h
View file @
1425941e
...
@@ -8,8 +8,11 @@
...
@@ -8,8 +8,11 @@
#ifndef __WINE_CONSOLE_H
#ifndef __WINE_CONSOLE_H
#define __WINE_CONSOLE_H
#define __WINE_CONSOLE_H
#ifndef __WINE_CONFIG_H
# error You must include config.h to use this header
#endif
#include <stdio.h>
#include <stdio.h>
#include "config.h"
/* Can we compile with curses/ncurses? */
/* Can we compile with curses/ncurses? */
#if ( (defined(HAVE_LIBNCURSES) || defined(HAVE_LIBCURSES)) && \
#if ( (defined(HAVE_LIBNCURSES) || defined(HAVE_LIBCURSES)) && \
...
...
include/gdi.h
View file @
1425941e
...
@@ -7,8 +7,6 @@
...
@@ -7,8 +7,6 @@
#ifndef __WINE_GDI_H
#ifndef __WINE_GDI_H
#define __WINE_GDI_H
#define __WINE_GDI_H
#include "config.h"
#include "windef.h"
#include "windef.h"
#include "wingdi.h"
#include "wingdi.h"
#include "wine/wingdi16.h"
#include "wine/wingdi16.h"
...
...
include/heap.h
View file @
1425941e
...
@@ -7,9 +7,8 @@
...
@@ -7,9 +7,8 @@
#ifndef __WINE_HEAP_H
#ifndef __WINE_HEAP_H
#define __WINE_HEAP_H
#define __WINE_HEAP_H
#include "config.h"
#include <string.h>
#include <string.h>
#include "winbase.h"
#include "winbase.h"
#include "winnls.h"
#include "winnls.h"
#include "wine/unicode.h"
#include "wine/unicode.h"
...
...
include/thread.h
View file @
1425941e
...
@@ -7,8 +7,6 @@
...
@@ -7,8 +7,6 @@
#ifndef __WINE_THREAD_H
#ifndef __WINE_THREAD_H
#define __WINE_THREAD_H
#define __WINE_THREAD_H
#include "config.h"
#include "ntdef.h"
/* UNICODE_STRING */
#include "ntdef.h"
/* UNICODE_STRING */
#include "wine/windef16.h"
#include "wine/windef16.h"
...
...
include/ts_shape.h
View file @
1425941e
...
@@ -2,14 +2,15 @@
...
@@ -2,14 +2,15 @@
* Thread safe wrappers around shape calls.
* Thread safe wrappers around shape calls.
* Always include this file instead of <X11/shape.h>.
* Always include this file instead of <X11/shape.h>.
* This file was generated automatically by tools/make_X11wrappers
* This file was generated automatically by tools/make_X11wrappers
*
* DO NOT EDIT!
* Copyright 1998 Kristian Nielsen
*/
*/
#ifndef __WINE_TS_SHAPE_H
#ifndef __WINE_TS_SHAPE_H
#define __WINE_TS_SHAPE_H
#define __WINE_TS_SHAPE_H
#include "config.h"
#ifndef __WINE_CONFIG_H
# error You must include config.h to use this header
#endif
#ifdef HAVE_LIBXSHAPE
#ifdef HAVE_LIBXSHAPE
#include <X11/IntrinsicP.h>
#include <X11/IntrinsicP.h>
...
...
include/ts_xf86dga.h
View file @
1425941e
...
@@ -2,14 +2,15 @@
...
@@ -2,14 +2,15 @@
* Thread safe wrappers around xf86dga calls.
* Thread safe wrappers around xf86dga calls.
* Always include this file instead of <X11/xf86dga.h>.
* Always include this file instead of <X11/xf86dga.h>.
* This file was generated automatically by tools/make_X11wrappers
* This file was generated automatically by tools/make_X11wrappers
*
* DO NOT EDIT!
* Copyright 1998 Kristian Nielsen
*/
*/
#ifndef __WINE_TS_XF86DGA_H
#ifndef __WINE_TS_XF86DGA_H
#define __WINE_TS_XF86DGA_H
#define __WINE_TS_XF86DGA_H
#include "config.h"
#ifndef __WINE_CONFIG_H
# error You must include config.h to use this header
#endif
#ifdef HAVE_LIBXXF86DGA
#ifdef HAVE_LIBXXF86DGA
...
...
include/ts_xf86dga2.h
View file @
1425941e
...
@@ -2,14 +2,15 @@
...
@@ -2,14 +2,15 @@
* Thread safe wrappers around xf86dga2 calls.
* Thread safe wrappers around xf86dga2 calls.
* Always include this file instead of <X11/xf86dga2.h>.
* Always include this file instead of <X11/xf86dga2.h>.
* This file was generated automatically by tools/make_X11wrappers
* This file was generated automatically by tools/make_X11wrappers
*
* DO NOT EDIT!
* Copyright 1998 Kristian Nielsen
*/
*/
#ifndef __WINE_TS_XF86DGA2_H
#ifndef __WINE_TS_XF86DGA2_H
#define __WINE_TS_XF86DGA2_H
#define __WINE_TS_XF86DGA2_H
#include "config.h"
#ifndef __WINE_CONFIG_H
# error You must include config.h to use this header
#endif
#ifdef HAVE_LIBXXF86DGA2
#ifdef HAVE_LIBXXF86DGA2
...
...
include/ts_xf86vmode.h
View file @
1425941e
...
@@ -2,14 +2,15 @@
...
@@ -2,14 +2,15 @@
* Thread safe wrappers around xf86vmode calls.
* Thread safe wrappers around xf86vmode calls.
* Always include this file instead of <X11/xf86vmode.h>.
* Always include this file instead of <X11/xf86vmode.h>.
* This file was generated automatically by tools/make_X11wrappers
* This file was generated automatically by tools/make_X11wrappers
*
* DO NOT EDIT!
* Copyright 1998 Kristian Nielsen
*/
*/
#ifndef __WINE_TS_XF86VMODE_H
#ifndef __WINE_TS_XF86VMODE_H
#define __WINE_TS_XF86VMODE_H
#define __WINE_TS_XF86VMODE_H
#include "config.h"
#ifndef __WINE_CONFIG_H
# error You must include config.h to use this header
#endif
#include "windef.h"
#include "windef.h"
#ifdef HAVE_LIBXXF86VM
#ifdef HAVE_LIBXXF86VM
...
...
include/ts_xlib.h
View file @
1425941e
...
@@ -2,14 +2,15 @@
...
@@ -2,14 +2,15 @@
* Thread safe wrappers around Xlib calls.
* Thread safe wrappers around Xlib calls.
* Always include this file instead of <X11/Xlib.h>.
* Always include this file instead of <X11/Xlib.h>.
* This file was generated automatically by tools/make_X11wrappers
* This file was generated automatically by tools/make_X11wrappers
*
* DO NOT EDIT!
* Copyright 1998 Kristian Nielsen
*/
*/
#ifndef __WINE_TS_XLIB_H
#ifndef __WINE_TS_XLIB_H
#define __WINE_TS_XLIB_H
#define __WINE_TS_XLIB_H
#include "config.h"
#ifndef __WINE_CONFIG_H
# error You must include config.h to use this header
#endif
#include <X11/Xlib.h>
#include <X11/Xlib.h>
...
...
include/ts_xpm.h
View file @
1425941e
...
@@ -2,14 +2,15 @@
...
@@ -2,14 +2,15 @@
* Thread safe wrappers around xpm calls.
* Thread safe wrappers around xpm calls.
* Always include this file instead of <X11/xpm.h>.
* Always include this file instead of <X11/xpm.h>.
* This file was generated automatically by tools/make_X11wrappers
* This file was generated automatically by tools/make_X11wrappers
*
* DO NOT EDIT!
* Copyright 1998 Kristian Nielsen
*/
*/
#ifndef __WINE_TS_XPM_H
#ifndef __WINE_TS_XPM_H
#define __WINE_TS_XPM_H
#define __WINE_TS_XPM_H
#include "config.h"
#ifndef __WINE_CONFIG_H
# error You must include config.h to use this header
#endif
#ifdef HAVE_LIBXXPM
#ifdef HAVE_LIBXXPM
...
...
include/ts_xrender.h
View file @
1425941e
...
@@ -2,14 +2,15 @@
...
@@ -2,14 +2,15 @@
* Thread safe wrappers around Xrender calls.
* Thread safe wrappers around Xrender calls.
* Always include this file instead of <X11/Xrender.h>.
* Always include this file instead of <X11/Xrender.h>.
* This file was generated automatically by tools/make_X11wrappers
* This file was generated automatically by tools/make_X11wrappers
*
* DO NOT EDIT!
* Copyright 1998 Kristian Nielsen
*/
*/
#ifndef __WINE_TS_XRENDER_H
#ifndef __WINE_TS_XRENDER_H
#define __WINE_TS_XRENDER_H
#define __WINE_TS_XRENDER_H
#include "config.h"
#ifndef __WINE_CONFIG_H
# error You must include config.h to use this header
#endif
#ifdef HAVE_LIBXRENDER
#ifdef HAVE_LIBXRENDER
...
...
include/ts_xresource.h
View file @
1425941e
...
@@ -2,14 +2,15 @@
...
@@ -2,14 +2,15 @@
* Thread safe wrappers around Xresource calls.
* Thread safe wrappers around Xresource calls.
* Always include this file instead of <X11/Xresource.h>.
* Always include this file instead of <X11/Xresource.h>.
* This file was generated automatically by tools/make_X11wrappers
* This file was generated automatically by tools/make_X11wrappers
*
* DO NOT EDIT!
* Copyright 1998 Kristian Nielsen
*/
*/
#ifndef __WINE_TS_XRESOURCE_H
#ifndef __WINE_TS_XRESOURCE_H
#define __WINE_TS_XRESOURCE_H
#define __WINE_TS_XRESOURCE_H
#include "config.h"
#ifndef __WINE_CONFIG_H
# error You must include config.h to use this header
#endif
#include <X11/Xlib.h>
#include <X11/Xlib.h>
...
...
include/ts_xshm.h
View file @
1425941e
...
@@ -2,14 +2,15 @@
...
@@ -2,14 +2,15 @@
* Thread safe wrappers around XShm calls.
* Thread safe wrappers around XShm calls.
* Always include this file instead of <X11/XShm.h>.
* Always include this file instead of <X11/XShm.h>.
* This file was generated automatically by tools/make_X11wrappers
* This file was generated automatically by tools/make_X11wrappers
*
* DO NOT EDIT!
* Copyright 1998 Kristian Nielsen
*/
*/
#ifndef __WINE_TS_XSHM_H
#ifndef __WINE_TS_XSHM_H
#define __WINE_TS_XSHM_H
#define __WINE_TS_XSHM_H
#include "config.h"
#ifndef __WINE_CONFIG_H
# error You must include config.h to use this header
#endif
#ifdef HAVE_LIBXXSHM
#ifdef HAVE_LIBXXSHM
...
...
include/ts_xutil.h
View file @
1425941e
...
@@ -2,14 +2,15 @@
...
@@ -2,14 +2,15 @@
* Thread safe wrappers around Xutil calls.
* Thread safe wrappers around Xutil calls.
* Always include this file instead of <X11/Xutil.h>.
* Always include this file instead of <X11/Xutil.h>.
* This file was generated automatically by tools/make_X11wrappers
* This file was generated automatically by tools/make_X11wrappers
*
* DO NOT EDIT!
* Copyright 1998 Kristian Nielsen
*/
*/
#ifndef __WINE_TS_XUTIL_H
#ifndef __WINE_TS_XUTIL_H
#define __WINE_TS_XUTIL_H
#define __WINE_TS_XUTIL_H
#include "config.h"
#ifndef __WINE_CONFIG_H
# error You must include config.h to use this header
#endif
#include <X11/Xlib.h>
#include <X11/Xlib.h>
...
@@ -24,7 +25,6 @@ extern XSizeHints * TSXAllocSizeHints(void);
...
@@ -24,7 +25,6 @@ extern XSizeHints * TSXAllocSizeHints(void);
extern
XWMHints
*
TSXAllocWMHints
(
void
);
extern
XWMHints
*
TSXAllocWMHints
(
void
);
extern
int
TSXClipBox
(
Region
,
XRectangle
*
);
extern
int
TSXClipBox
(
Region
,
XRectangle
*
);
extern
Region
TSXCreateRegion
(
void
);
extern
Region
TSXCreateRegion
(
void
);
extern
int
TSXDeleteContext
(
Display
*
,
XID
,
XContext
);
extern
int
TSXDestroyRegion
(
Region
);
extern
int
TSXDestroyRegion
(
Region
);
extern
int
TSXEmptyRegion
(
Region
);
extern
int
TSXEmptyRegion
(
Region
);
extern
int
TSXEqualRegion
(
Region
,
Region
);
extern
int
TSXEqualRegion
(
Region
,
Region
);
...
@@ -54,6 +54,7 @@ extern int TSXDestroyImage(struct _XImage *);
...
@@ -54,6 +54,7 @@ extern int TSXDestroyImage(struct _XImage *);
extern
struct
_XImage
*
TSXSubImage
(
struct
_XImage
*
,
int
,
int
,
unsigned
int
,
unsigned
int
);
extern
struct
_XImage
*
TSXSubImage
(
struct
_XImage
*
,
int
,
int
,
unsigned
int
,
unsigned
int
);
extern
int
TSXAddPixel
(
struct
_XImage
*
,
long
);
extern
int
TSXAddPixel
(
struct
_XImage
*
,
long
);
extern
XContext
TSXUniqueContext
(
void
);
extern
XContext
TSXUniqueContext
(
void
);
extern
int
TSXDeleteContext
(
Display
*
,
XID
,
XContext
);
#endif
/* __WINE_TS_XUTIL_H */
#endif
/* __WINE_TS_XUTIL_H */
include/ts_xvideo.h
View file @
1425941e
...
@@ -2,14 +2,15 @@
...
@@ -2,14 +2,15 @@
* Thread safe wrappers around xvideo calls.
* Thread safe wrappers around xvideo calls.
* Always include this file instead of <X11/xvideo.h>.
* Always include this file instead of <X11/xvideo.h>.
* This file was generated automatically by tools/make_X11wrappers
* This file was generated automatically by tools/make_X11wrappers
*
* DO NOT EDIT!
* Copyright 1998 Kristian Nielsen
*/
*/
#ifndef __WINE_TS_XVIDEO_H
#ifndef __WINE_TS_XVIDEO_H
#define __WINE_TS_XVIDEO_H
#define __WINE_TS_XVIDEO_H
#include "config.h"
#ifndef __WINE_CONFIG_H
# error You must include config.h to use this header
#endif
#ifdef HAVE_XVIDEO
#ifdef HAVE_XVIDEO
...
...
include/wine/port.h
View file @
1425941e
...
@@ -6,7 +6,9 @@
...
@@ -6,7 +6,9 @@
#ifndef __WINE_WINE_PORT_H
#ifndef __WINE_WINE_PORT_H
#define __WINE_WINE_PORT_H
#define __WINE_WINE_PORT_H
#include "config.h"
#ifndef __WINE_CONFIG_H
# error You must include config.h to use this header
#endif
#include <fcntl.h>
#include <fcntl.h>
#include <sys/types.h>
#include <sys/types.h>
...
...
include/wine_gl.h
View file @
1425941e
...
@@ -7,7 +7,9 @@
...
@@ -7,7 +7,9 @@
#ifndef __WINE_WINE_GL_H
#ifndef __WINE_WINE_GL_H
#define __WINE_WINE_GL_H
#define __WINE_WINE_GL_H
#include "config.h"
#ifndef __WINE_CONFIG_H
# error You must include config.h to use this header
#endif
#if defined(HAVE_OPENGL)
#if defined(HAVE_OPENGL)
...
...
include/x11drv.h
View file @
1425941e
...
@@ -5,7 +5,9 @@
...
@@ -5,7 +5,9 @@
#ifndef __WINE_X11DRV_H
#ifndef __WINE_X11DRV_H
#define __WINE_X11DRV_H
#define __WINE_X11DRV_H
#include "config.h"
#ifndef __WINE_CONFIG_H
# error You must include config.h to use this header
#endif
#include <X11/Xlib.h>
#include <X11/Xlib.h>
#include <X11/Xresource.h>
#include <X11/Xresource.h>
...
...
library/port.c
View file @
1425941e
...
@@ -4,6 +4,7 @@
...
@@ -4,6 +4,7 @@
* Copyright 1996 Alexandre Julliard
* Copyright 1996 Alexandre Julliard
*/
*/
#include "config.h"
#include "wine/port.h"
#include "wine/port.h"
#ifdef __BEOS__
#ifdef __BEOS__
...
...
loader/elf.c
View file @
1425941e
...
@@ -9,6 +9,7 @@
...
@@ -9,6 +9,7 @@
* IDEA(s): could be used to split up shell32,comctl32...
* IDEA(s): could be used to split up shell32,comctl32...
*/
*/
#include "config.h"
#include "wine/port.h"
#include "wine/port.h"
#include <assert.h>
#include <assert.h>
...
...
loader/ne/module.c
View file @
1425941e
...
@@ -4,6 +4,7 @@
...
@@ -4,6 +4,7 @@
* Copyright 1995 Alexandre Julliard
* Copyright 1995 Alexandre Julliard
*/
*/
#include "config.h"
#include "wine/port.h"
#include "wine/port.h"
#include <assert.h>
#include <assert.h>
...
...
loader/ne/resource.c
View file @
1425941e
...
@@ -6,6 +6,7 @@
...
@@ -6,6 +6,7 @@
* Copyright 1997 Alex Korobka
* Copyright 1997 Alex Korobka
*/
*/
#include "config.h"
#include "wine/port.h"
#include "wine/port.h"
#include <stdio.h>
#include <stdio.h>
...
...
memory/global.c
View file @
1425941e
...
@@ -5,6 +5,7 @@
...
@@ -5,6 +5,7 @@
*/
*/
/* 0xffff sometimes seems to mean: CURRENT_DS */
/* 0xffff sometimes seems to mean: CURRENT_DS */
#include "config.h"
#include "wine/port.h"
#include "wine/port.h"
#include <sys/types.h>
#include <sys/types.h>
...
...
memory/virtual.c
View file @
1425941e
...
@@ -4,6 +4,7 @@
...
@@ -4,6 +4,7 @@
* Copyright 1997 Alexandre Julliard
* Copyright 1997 Alexandre Julliard
*/
*/
#include "config.h"
#include "wine/port.h"
#include "wine/port.h"
#include <assert.h>
#include <assert.h>
...
...
misc/cpu.c
View file @
1425941e
...
@@ -5,6 +5,7 @@
...
@@ -5,6 +5,7 @@
* Copyright 1997-1998 Marcus Meissner
* Copyright 1997-1998 Marcus Meissner
*/
*/
#include "config.h"
#include "wine/port.h"
#include "wine/port.h"
#include <ctype.h>
#include <ctype.h>
...
...
msdos/dosmem.c
View file @
1425941e
...
@@ -5,6 +5,7 @@
...
@@ -5,6 +5,7 @@
* Copyright 1996 Marcus Meissner
* Copyright 1996 Marcus Meissner
*/
*/
#include "config.h"
#include "wine/port.h"
#include "wine/port.h"
#include <signal.h>
#include <signal.h>
...
@@ -820,7 +821,7 @@ LPVOID DOSMEM_MapRealToLinear(DWORD x)
...
@@ -820,7 +821,7 @@ LPVOID DOSMEM_MapRealToLinear(DWORD x)
LPVOID
lin
;
LPVOID
lin
;
lin
=
DOSMEM_dosmem
+
(
x
&
0xffff
)
+
(((
x
&
0xffff0000
)
>>
16
)
*
16
);
lin
=
DOSMEM_dosmem
+
(
x
&
0xffff
)
+
(((
x
&
0xffff0000
)
>>
16
)
*
16
);
TRACE_
(
selector
)(
"(0x%08lx) returns
0x
%p.
\n
"
,
x
,
lin
);
TRACE_
(
selector
)(
"(0x%08lx) returns %p.
\n
"
,
x
,
lin
);
return
lin
;
return
lin
;
}
}
...
...
msdos/dpmi.c
View file @
1425941e
...
@@ -4,6 +4,7 @@
...
@@ -4,6 +4,7 @@
* Copyright 1995 Alexandre Julliard
* Copyright 1995 Alexandre Julliard
*/
*/
#include "config.h"
#include "wine/port.h"
#include "wine/port.h"
#include <unistd.h>
#include <unistd.h>
...
...
msdos/int10.c
View file @
1425941e
...
@@ -2,7 +2,10 @@
...
@@ -2,7 +2,10 @@
* BIOS interrupt 10h handler
* BIOS interrupt 10h handler
*/
*/
#include "config.h"
#include <stdlib.h>
#include <stdlib.h>
#include "miscemu.h"
#include "miscemu.h"
#include "vga.h"
#include "vga.h"
#include "debugtools.h"
#include "debugtools.h"
...
...
scheduler/client.c
View file @
1425941e
...
@@ -4,6 +4,7 @@
...
@@ -4,6 +4,7 @@
* Copyright (C) 1998 Alexandre Julliard
* Copyright (C) 1998 Alexandre Julliard
*/
*/
#include "config.h"
#include "wine/port.h"
#include "wine/port.h"
#include <assert.h>
#include <assert.h>
...
...
scheduler/sysdeps.c
View file @
1425941e
...
@@ -4,6 +4,7 @@
...
@@ -4,6 +4,7 @@
* Copyright 1998 Alexandre Julliard
* Copyright 1998 Alexandre Julliard
*/
*/
#include "config.h"
#include "wine/port.h"
#include "wine/port.h"
#include <signal.h>
#include <signal.h>
...
...
scheduler/thread.c
View file @
1425941e
...
@@ -4,6 +4,7 @@
...
@@ -4,6 +4,7 @@
* Copyright 1996 Alexandre Julliard
* Copyright 1996 Alexandre Julliard
*/
*/
#include "config.h"
#include "wine/port.h"
#include "wine/port.h"
#include <assert.h>
#include <assert.h>
...
...
server/request.c
View file @
1425941e
...
@@ -4,6 +4,7 @@
...
@@ -4,6 +4,7 @@
* Copyright (C) 1998 Alexandre Julliard
* Copyright (C) 1998 Alexandre Julliard
*/
*/
#include "config.h"
#include "wine/port.h"
#include "wine/port.h"
#include <assert.h>
#include <assert.h>
...
...
tools/make_X11wrappers
View file @
1425941e
...
@@ -106,14 +106,15 @@ foreach $name (@dolist) {
...
@@ -106,14 +106,15 @@ foreach $name (@dolist) {
* Thread safe wrappers around $name calls.
* Thread safe wrappers around $name calls.
* Always include this file instead of <X11/$name.h>.
* Always include this file instead of <X11/$name.h>.
* This file was generated automatically by tools/make_X11wrappers
* This file was generated automatically by tools/make_X11wrappers
*
* DO NOT EDIT!
* Copyright 1998 Kristian Nielsen
*/
*/
#ifndef __WINE_TS_$ucname\_H
#ifndef __WINE_TS_$ucname\_H
#define __WINE_TS_$ucname\_H
#define __WINE_TS_$ucname\_H
#include "config.h"
#ifndef __WINE_CONFIG_H
# error You must include config.h to use this header
#endif
$pre_file
$pre_file
$x11_incl#include <X11/$extensions_dir$inc_name.h>
$x11_incl#include <X11/$extensions_dir$inc_name.h>
...
...
tools/winebuild/build.h
View file @
1425941e
...
@@ -9,7 +9,10 @@
...
@@ -9,7 +9,10 @@
#ifndef __WINE_BUILD_H
#ifndef __WINE_BUILD_H
#define __WINE_BUILD_H
#define __WINE_BUILD_H
#include "config.h"
#ifndef __WINE_CONFIG_H
# error You must include config.h to use this header
#endif
#include <stdio.h>
#include <stdio.h>
#include <stdlib.h>
#include <stdlib.h>
...
...
tools/winebuild/spec16.c
View file @
1425941e
...
@@ -8,6 +8,7 @@
...
@@ -8,6 +8,7 @@
* Copyright 1999 Ulrich Weigand
* Copyright 1999 Ulrich Weigand
*/
*/
#include "config.h"
#include "wine/port.h"
#include "wine/port.h"
#include <assert.h>
#include <assert.h>
...
...
tools/winebuild/utils.c
View file @
1425941e
/* small utility functions for winebuild */
/* small utility functions for winebuild */
#include "config.h"
#include <ctype.h>
#include <ctype.h>
#include <stdarg.h>
#include <stdarg.h>
#include <stdio.h>
#include <stdio.h>
...
...
tools/wrc/parser.l
View file @
1425941e
...
@@ -79,8 +79,6 @@ cident [a-zA-Z_][0-9a-zA-Z_]*
...
@@ -79,8 +79,6 @@ cident [a-zA-Z_][0-9a-zA-Z_]*
/*#define LEX_DEBUG*/
/*#define LEX_DEBUG*/
#include "config.h"
#include <stdio.h>
#include <stdio.h>
#include <stdlib.h>
#include <stdlib.h>
#include <string.h>
#include <string.h>
...
...
tools/wrc/ppl.l
View file @
1425941e
...
@@ -138,8 +138,6 @@ cident [a-zA-Z_][0-9a-zA-Z_]*
...
@@ -138,8 +138,6 @@ cident [a-zA-Z_][0-9a-zA-Z_]*
ul [uUlL]|[uUlL][lL]|[lL][uU]|[lL][lL][uU]|[uU][lL][lL]|[lL][uU][lL]
ul [uUlL]|[uUlL][lL]|[lL][uU]|[lL][lL][uU]|[uU][lL][lL]|[lL][uU][lL]
%{
%{
#include "config.h"
#include <stdio.h>
#include <stdio.h>
#include <stdlib.h>
#include <stdlib.h>
#include <string.h>
#include <string.h>
...
...
win32/device.c
View file @
1425941e
...
@@ -7,6 +7,7 @@
...
@@ -7,6 +7,7 @@
*
*
*/
*/
#include "config.h"
#include "wine/port.h"
#include "wine/port.h"
#include <stdlib.h>
#include <stdlib.h>
...
...
windows/class.c
View file @
1425941e
...
@@ -12,6 +12,7 @@
...
@@ -12,6 +12,7 @@
* classes are getting registered with wrong hInstance.
* classes are getting registered with wrong hInstance.
*/
*/
#include "config.h"
#include "wine/port.h"
#include "wine/port.h"
#include <stdlib.h>
#include <stdlib.h>
...
...
windows/dialog.c
View file @
1425941e
...
@@ -4,6 +4,7 @@
...
@@ -4,6 +4,7 @@
* Copyright 1993, 1994, 1996 Alexandre Julliard
* Copyright 1993, 1994, 1996 Alexandre Julliard
*/
*/
#include "config.h"
#include "wine/port.h"
#include "wine/port.h"
#include <ctype.h>
#include <ctype.h>
...
...
windows/x11drv/clipboard.c
View file @
1425941e
...
@@ -45,7 +45,7 @@
...
@@ -45,7 +45,7 @@
*
*
*/
*/
#include "
ts_xlib
.h"
#include "
config
.h"
#include <string.h>
#include <string.h>
#include <stdio.h>
#include <stdio.h>
...
@@ -53,6 +53,7 @@
...
@@ -53,6 +53,7 @@
#include <unistd.h>
#include <unistd.h>
#include <fcntl.h>
#include <fcntl.h>
#include "ts_xlib.h"
#include "winreg.h"
#include "winreg.h"
#include "clipboard.h"
#include "clipboard.h"
#include "win.h"
#include "win.h"
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment