Include xwin-config.h if HAVE_XWIN_CONFIG is defined Cleanup X11 includes

handling Warning fixes
This commit is contained in:
Alexander Gottwald 2005-07-04 22:10:43 +00:00
parent 5e50ae22bf
commit 508cdb5cb0
69 changed files with 258 additions and 15 deletions

View File

@ -1,3 +1,10 @@
2005-07-05 Alexander Gottwald <ago at freedesktop dot org>
* *.c:
Include xwin-config.h if HAVE_XWIN_CONFIG is defined
Cleanup X11 includes handling
Warning fixes
2005-06-30 Alexander Gottwald <ago at freedesktop dot org> 2005-06-30 Alexander Gottwald <ago at freedesktop dot org>
* winmultiwindowwndproc.c: * winmultiwindowwndproc.c:

View File

@ -28,6 +28,9 @@
*/ */
/* $XFree86: xc/programs/Xserver/hw/xwin/InitInput.c,v 1.11 2002/07/05 09:19:25 alanh Exp $ */ /* $XFree86: xc/programs/Xserver/hw/xwin/InitInput.c,v 1.11 2002/07/05 09:19:25 alanh Exp $ */
#ifdef HAVE_XWIN_CONFIG_H
#include <xwin-config.h>
#endif
#include "win.h" #include "win.h"
#ifdef XWIN_CLIPBOARD #ifdef XWIN_CLIPBOARD
# include "../../Xext/xf86miscproc.h" # include "../../Xext/xf86miscproc.h"

View File

@ -28,6 +28,9 @@ from The Open Group.
*/ */
/* $XFree86: xc/programs/Xserver/hw/xwin/InitOutput.c,v 1.34 2003/10/02 13:30:09 eich Exp $ */ /* $XFree86: xc/programs/Xserver/hw/xwin/InitOutput.c,v 1.34 2003/10/02 13:30:09 eich Exp $ */
#ifdef HAVE_XWIN_CONFIG_H
#include <xwin-config.h>
#endif
#include "win.h" #include "win.h"
#include "winmsg.h" #include "winmsg.h"
#include "winconfig.h" #include "winconfig.h"
@ -35,6 +38,9 @@ from The Open Group.
#ifdef XWIN_CLIPBOARD #ifdef XWIN_CLIPBOARD
#include "X11/Xlocale.h" #include "X11/Xlocale.h"
#endif #endif
#ifdef DPMSExtension
#include "dpmsproc.h"
#endif
#ifdef __CYGWIN__ #ifdef __CYGWIN__
#include <mntent.h> #include <mntent.h>
#endif #endif
@ -123,7 +129,6 @@ winLogVersionInfo (void);
Bool Bool
winValidateArgs (void); winValidateArgs (void);
/* /*
* For the depth 24 pixmap we default to 32 bits per pixel, but * For the depth 24 pixmap we default to 32 bits per pixel, but
* we change this pixmap format later if we detect that the display * we change this pixmap format later if we detect that the display
@ -285,7 +290,7 @@ AbortDDX (void)
#ifdef __CYGWIN__ #ifdef __CYGWIN__
/* hasmntopt is currently not implemented for cygwin */ /* hasmntopt is currently not implemented for cygwin */
const char *winCheckMntOpt(const struct mntent *mnt, const char *opt) static const char *winCheckMntOpt(const struct mntent *mnt, const char *opt)
{ {
const char *s; const char *s;
size_t len; size_t len;
@ -305,7 +310,7 @@ const char *winCheckMntOpt(const struct mntent *mnt, const char *opt)
return NULL; return NULL;
} }
void static void
winCheckMount(void) winCheckMount(void)
{ {
FILE *mnt; FILE *mnt;
@ -367,13 +372,14 @@ winCheckMount(void)
winMsg(X_WARNING, "/tmp mounted int textmode\n"); winMsg(X_WARNING, "/tmp mounted int textmode\n");
} }
#else #else
void static void
winCheckMount(void) winCheckMount(void)
{ {
} }
#endif #endif
const char * #ifdef RELOCATE_PROJECTROOT
static const char *
winGetBaseDir(void) winGetBaseDir(void)
{ {
static BOOL inited = FALSE; static BOOL inited = FALSE;
@ -400,6 +406,7 @@ winGetBaseDir(void)
} }
return buffer; return buffer;
} }
#endif
static void static void
winFixupPaths (void) winFixupPaths (void)
@ -749,7 +756,7 @@ OsVendorInit (void)
} }
void static void
winUseMsg (void) winUseMsg (void)
{ {
ErrorF ("-depth bits_per_pixel\n" ErrorF ("-depth bits_per_pixel\n"
@ -1141,3 +1148,20 @@ winCheckDisplayNumber ()
return TRUE; return TRUE;
} }
#ifdef DPMSExtension
Bool DPMSSupported(void)
{
return FALSE;
}
void DPMSSet(int level)
{
return;
}
int DPMSGet(int *plevel)
{
return 0;
}
#endif

View File

@ -963,10 +963,10 @@ winSendKeyEvent (DWORD dwKey, Bool fDown);
*/ */
Bool Bool
winInstallKeyboardHookLL (); winInstallKeyboardHookLL (void);
void void
winRemoveKeyboardHookLL (); winRemoveKeyboardHookLL (void);
/* /*

View File

@ -30,6 +30,9 @@
*/ */
/* $XFree86: xc/programs/Xserver/hw/xwin/winallpriv.c,v 1.11 2002/10/17 08:18:21 alanh Exp $ */ /* $XFree86: xc/programs/Xserver/hw/xwin/winallpriv.c,v 1.11 2002/10/17 08:18:21 alanh Exp $ */
#ifdef HAVE_XWIN_CONFIG_H
#include <xwin-config.h>
#endif
#include "win.h" #include "win.h"

View File

@ -1,3 +1,6 @@
#ifdef HAVE_XWIN_CONFIG_H
#include <xwin-config.h>
#endif
#if defined(XCSECURITY) #if defined(XCSECURITY)
/* /*
*Copyright (C) 2003-2004 Harold L Hunt II All Rights Reserved. *Copyright (C) 2003-2004 Harold L Hunt II All Rights Reserved.

View File

@ -28,6 +28,9 @@
* Authors: Harold L Hunt II * Authors: Harold L Hunt II
*/ */
#ifdef HAVE_XWIN_CONFIG_H
#include <xwin-config.h>
#endif
#include "win.h" #include "win.h"
#include "winmsg.h" #include "winmsg.h"

View File

@ -28,6 +28,9 @@
* Authors: Harold L Hunt II * Authors: Harold L Hunt II
*/ */
#ifdef HAVE_XWIN_CONFIG_H
#include <xwin-config.h>
#endif
#include "win.h" #include "win.h"
/* Look at mfb/mfbclip.c for sample implementation */ /* Look at mfb/mfbclip.c for sample implementation */

View File

@ -28,6 +28,9 @@
* Authors: Harold L Hunt II * Authors: Harold L Hunt II
*/ */
#ifdef HAVE_XWIN_CONFIG_H
#include <xwin-config.h>
#endif
#include "dixstruct.h" #include "dixstruct.h"
#include "winclipboard.h" #include "winclipboard.h"

View File

@ -28,6 +28,9 @@
* Authors: Harold L Hunt II * Authors: Harold L Hunt II
*/ */
#ifdef HAVE_XWIN_CONFIG_H
#include <xwin-config.h>
#endif
#include "win.h" #include "win.h"
#include <stdio.h> #include <stdio.h>
#include <stdlib.h> #include <stdlib.h>

View File

@ -28,6 +28,10 @@
* Authors: Harold L Hunt II * Authors: Harold L Hunt II
*/ */
#ifdef HAVE_XWIN_CONFIG_H
#include <xwin-config.h>
#endif
#include <sys/types.h>
#include "winclipboard.h" #include "winclipboard.h"
#ifdef __CYGWIN__ #ifdef __CYGWIN__
#include <errno.h> #include <errno.h>

View File

@ -28,6 +28,9 @@
* Authors: Harold L Hunt II * Authors: Harold L Hunt II
*/ */
#ifdef HAVE_XWIN_CONFIG_H
#include <xwin-config.h>
#endif
#include "winclipboard.h" #include "winclipboard.h"

View File

@ -28,6 +28,11 @@
* Authors: Harold L Hunt II * Authors: Harold L Hunt II
*/ */
#ifdef HAVE_XWIN_CONFIG_H
#include <xwin-config.h>
#endif
#include <sys/types.h>
#include <sys/time.h>
#include "winclipboard.h" #include "winclipboard.h"

View File

@ -28,6 +28,9 @@
* Authors: Harold L Hunt II * Authors: Harold L Hunt II
*/ */
#ifdef HAVE_XWIN_CONFIG_H
#include <xwin-config.h>
#endif
#include "win.h" #include "win.h"
#include "dixstruct.h" #include "dixstruct.h"
#include <X11/Xatom.h> #include <X11/Xatom.h>

View File

@ -28,6 +28,9 @@
* Authors: Harold L Hunt II * Authors: Harold L Hunt II
*/ */
#ifdef HAVE_XWIN_CONFIG_H
#include <xwin-config.h>
#endif
#include "winclipboard.h" #include "winclipboard.h"

View File

@ -32,6 +32,9 @@
*/ */
/* $XFree86: xc/programs/Xserver/hw/xwin/wincmap.c,v 1.9 2002/07/05 09:19:26 alanh Exp $ */ /* $XFree86: xc/programs/Xserver/hw/xwin/wincmap.c,v 1.9 2002/07/05 09:19:26 alanh Exp $ */
#ifdef HAVE_XWIN_CONFIG_H
#include <xwin-config.h>
#endif
#include "win.h" #include "win.h"

View File

@ -29,13 +29,18 @@
*/ */
/* $XFree86: xc/programs/Xserver/hw/xwin/winconfig.c,v 1.3 2003/10/02 13:30:10 eich Exp $ */ /* $XFree86: xc/programs/Xserver/hw/xwin/winconfig.c,v 1.3 2003/10/02 13:30:10 eich Exp $ */
#ifdef HAVE_XWIN_CONFIG_H
#include <xwin-config.h>
#endif
#include "win.h" #include "win.h"
#include "winconfig.h" #include "winconfig.h"
#include "winmsg.h" #include "winmsg.h"
#include "globals.h" #include "globals.h"
#ifdef XKB #ifdef XKB
#ifndef XKB_IN_SERVER
#define XKB_IN_SERVER #define XKB_IN_SERVER
#endif
#include <X11/extensions/XKBsrv.h> #include <X11/extensions/XKBsrv.h>
#endif #endif

View File

@ -28,6 +28,9 @@
* Authors: Harold L Hunt II * Authors: Harold L Hunt II
*/ */
#ifdef HAVE_XWIN_CONFIG_H
#include <xwin-config.h>
#endif
#include "win.h" #include "win.h"
#include "shellapi.h" #include "shellapi.h"

View File

@ -32,6 +32,9 @@
*/ */
/* $XFree86: xc/programs/Xserver/hw/xwin/wincursor.c,v 1.5 2002/07/05 09:19:26 alanh Exp $ */ /* $XFree86: xc/programs/Xserver/hw/xwin/wincursor.c,v 1.5 2002/07/05 09:19:26 alanh Exp $ */
#ifdef HAVE_XWIN_CONFIG_H
#include <xwin-config.h>
#endif
#include "win.h" #include "win.h"
#include "winmsg.h" #include "winmsg.h"
#include <cursorstr.h> #include <cursorstr.h>

View File

@ -29,6 +29,9 @@
* Earle F. Philhower III * Earle F. Philhower III
*/ */
#ifdef HAVE_XWIN_CONFIG_H
#include <xwin-config.h>
#endif
#include "win.h" #include "win.h"
#ifdef __CYGWIN__ #ifdef __CYGWIN__
#include <sys/cygwin.h> #include <sys/cygwin.h>

View File

@ -28,6 +28,9 @@
* Authors: Harold L Hunt II * Authors: Harold L Hunt II
*/ */
#ifdef HAVE_XWIN_CONFIG_H
#include <xwin-config.h>
#endif
#include "win.h" #include "win.h"
#include "winmsg.h" #include "winmsg.h"

View File

@ -28,6 +28,15 @@
* Authors: Harold L Hunt II * Authors: Harold L Hunt II
*/ */
#ifdef HAVE_XWIN_CONFIG_H
#include <xwin-config.h>
#endif
#ifdef XVENDORNAME
#define VENDOR_STRING XVENDORNAME
#define VERSION_STRING XORG_RELEASE
#define VENDOR_CONTACT BUILDERADDR
#endif
#include "win.h" #include "win.h"
/* References to external symbols */ /* References to external symbols */

View File

@ -30,6 +30,9 @@
*/ */
/* $XFree86: xc/programs/Xserver/hw/xwin/winfillsp.c,v 1.9 2001/11/01 12:19:40 alanh Exp $ */ /* $XFree86: xc/programs/Xserver/hw/xwin/winfillsp.c,v 1.9 2001/11/01 12:19:40 alanh Exp $ */
#ifdef HAVE_XWIN_CONFIG_H
#include <xwin-config.h>
#endif
#include "win.h" #include "win.h"

View File

@ -28,8 +28,12 @@
* Authors: Harold L Hunt II * Authors: Harold L Hunt II
*/ */
#ifdef HAVE_XWIN_CONFIG_H
#include <xwin-config.h>
#endif
#include "win.h" #include "win.h"
#ifdef XWIN_NATIVEGDI
/* See Porting Layer Definition - p. 32 */ /* See Porting Layer Definition - p. 32 */
/* See mfb/mfbfont.c - mfbRealizeFont() - which is empty :) */ /* See mfb/mfbfont.c - mfbRealizeFont() - which is empty :) */
Bool Bool
@ -73,3 +77,4 @@ winUnrealizeFontNativeGDI (ScreenPtr pScreen, FontPtr pFont)
#endif #endif
return TRUE; return TRUE;
} }
#endif

View File

@ -28,6 +28,9 @@
* Authors: Harold L Hunt II * Authors: Harold L Hunt II
*/ */
#ifdef HAVE_XWIN_CONFIG_H
#include <xwin-config.h>
#endif
#include "win.h" #include "win.h"
void void
@ -230,7 +233,6 @@ winDestroyGCNativeGDI (GCPtr pGC)
winSetGCPriv (pGC, NULL); winSetGCPriv (pGC, NULL);
} }
#if 0 #if 0
/* See Porting Layer Definition - p. 46 */ /* See Porting Layer Definition - p. 46 */
static void static void

View File

@ -30,6 +30,9 @@
*/ */
/* $XFree86: xc/programs/Xserver/hw/xwin/wingetsp.c,v 1.7 2001/11/01 12:19:40 alanh Exp $ */ /* $XFree86: xc/programs/Xserver/hw/xwin/wingetsp.c,v 1.7 2001/11/01 12:19:40 alanh Exp $ */
#ifdef HAVE_XWIN_CONFIG_H
#include <xwin-config.h>
#endif
#include "win.h" #include "win.h"
/* See Porting Layer Definition - p. 55 */ /* See Porting Layer Definition - p. 55 */

View File

@ -28,6 +28,9 @@
* Authors: Harold L Hunt II * Authors: Harold L Hunt II
*/ */
#ifdef HAVE_XWIN_CONFIG_H
#include <xwin-config.h>
#endif
#include "win.h" #include "win.h"

View File

@ -33,13 +33,18 @@
/* $XFree86: xc/programs/Xserver/hw/xwin/winkeybd.c,v 1.12 2002/10/17 08:18:22 alanh Exp $ */ /* $XFree86: xc/programs/Xserver/hw/xwin/winkeybd.c,v 1.12 2002/10/17 08:18:22 alanh Exp $ */
#ifdef HAVE_XWIN_CONFIG_H
#include <xwin-config.h>
#endif
#include "win.h" #include "win.h"
#include "winkeybd.h" #include "winkeybd.h"
#include "winconfig.h" #include "winconfig.h"
#include "winmsg.h" #include "winmsg.h"
#ifdef XKB #ifdef XKB
#ifndef XKB_IN_SERVER
#define XKB_IN_SERVER #define XKB_IN_SERVER
#endif
#include <X11/extensions/XKBsrv.h> #include <X11/extensions/XKBsrv.h>
#endif #endif

View File

@ -28,6 +28,9 @@
* Authors: Harold L Hunt II * Authors: Harold L Hunt II
*/ */
#ifdef HAVE_XWIN_CONFIG_H
#include <xwin-config.h>
#endif
#include "win.h" #include "win.h"

View File

@ -27,7 +27,7 @@
#define XK_TECHNICAL #define XK_TECHNICAL
#define XK_KATAKANA #define XK_KATAKANA
#include "keysym.h" #include <X11/keysym.h>
#define GLYPHS_PER_KEY 4 #define GLYPHS_PER_KEY 4
#define NUM_KEYCODES 248 #define NUM_KEYCODES 248

View File

@ -28,6 +28,9 @@
* Authors: Harold L Hunt II * Authors: Harold L Hunt II
*/ */
#ifdef HAVE_XWIN_CONFIG_H
#include <xwin-config.h>
#endif
#include "win.h" #include "win.h"
#ifdef XWIN_NATIVEGDI #ifdef XWIN_NATIVEGDI

View File

@ -32,6 +32,9 @@
*/ */
/* $XFree86: xc/programs/Xserver/hw/xwin/winmouse.c,v 1.3 2001/05/08 08:14:09 alanh Exp $ */ /* $XFree86: xc/programs/Xserver/hw/xwin/winmouse.c,v 1.3 2001/05/08 08:14:09 alanh Exp $ */
#ifdef HAVE_XWIN_CONFIG_H
#include <xwin-config.h>
#endif
#include "win.h" #include "win.h"
#if defined(XFree86Server) && defined(XINPUT) #if defined(XFree86Server) && defined(XINPUT)

View File

@ -36,7 +36,7 @@
#define WIN32_LEAN_AND_MEAN #define WIN32_LEAN_AND_MEAN
#endif #endif
#include <Xwindows.h> #include <X11/Xwindows.h>
#include <windowsx.h> #include <windowsx.h>
#include "ddraw.h" #include "ddraw.h"

View File

@ -29,6 +29,9 @@
*/ */
/* $XFree86$ */ /* $XFree86$ */
#ifdef HAVE_XWIN_CONFIG_H
#include <xwin-config.h>
#endif
#include "win.h" #include "win.h"
#include "winmsg.h" #include "winmsg.h"
#if CYGDEBUG #if CYGDEBUG

View File

@ -29,6 +29,9 @@
*/ */
/* $XFree86$ */ /* $XFree86$ */
#ifdef HAVE_XWIN_CONFIG_H
#include <xwin-config.h>
#endif
#include <X11/Xatom.h> #include <X11/Xatom.h>
#include "propertyst.h" #include "propertyst.h"
#include "windowstr.h" #include "windowstr.h"

View File

@ -29,6 +29,9 @@
*/ */
/* $XFree86: xc/programs/Xserver/hw/xwin/winwindow.c,v 1.5 2002/11/07 10:31:32 alanh Exp $ */ /* $XFree86: xc/programs/Xserver/hw/xwin/winwindow.c,v 1.5 2002/11/07 10:31:32 alanh Exp $ */
#ifdef HAVE_XWIN_CONFIG_H
#include <xwin-config.h>
#endif
#include "win.h" #include "win.h"
#include "dixevents.h" #include "dixevents.h"
#include "winmultiwindowclass.h" #include "winmultiwindowclass.h"

View File

@ -30,6 +30,9 @@
*/ */
/* $XFree86: xc/programs/Xserver/hw/xwin/winmultiwindowshape.c,v 1.2 2003/11/10 18:22:44 tsi Exp $ */ /* $XFree86: xc/programs/Xserver/hw/xwin/winmultiwindowshape.c,v 1.2 2003/11/10 18:22:44 tsi Exp $ */
#ifdef HAVE_XWIN_CONFIG_H
#include <xwin-config.h>
#endif
#ifdef SHAPE #ifdef SHAPE
#include "win.h" #include "win.h"

View File

@ -31,6 +31,9 @@
*/ */
/* $XFree86: xc/programs/Xserver/hw/xwin/winwindow.c,v 1.5 2002/11/07 10:31:32 alanh Exp $ */ /* $XFree86: xc/programs/Xserver/hw/xwin/winwindow.c,v 1.5 2002/11/07 10:31:32 alanh Exp $ */
#ifdef HAVE_XWIN_CONFIG_H
#include <xwin-config.h>
#endif
#include "win.h" #include "win.h"
#include "dixevents.h" #include "dixevents.h"
#include "winmultiwindowclass.h" #include "winmultiwindowclass.h"

View File

@ -30,6 +30,9 @@
/* $XFree86: xc/programs/Xserver/hw/xwin/winwindow.c,v 1.5 2002/11/07 10:31:32 alanh Exp $ */ /* $XFree86: xc/programs/Xserver/hw/xwin/winwindow.c,v 1.5 2002/11/07 10:31:32 alanh Exp $ */
/* X headers */ /* X headers */
#ifdef HAVE_XWIN_CONFIG_H
#include <xwin-config.h>
#endif
#include <stdio.h> #include <stdio.h>
#include <stdlib.h> #include <stdlib.h>
#include <unistd.h> #include <unistd.h>
@ -63,7 +66,9 @@
#include "objbase.h" #include "objbase.h"
#include "ddraw.h" #include "ddraw.h"
#include "winwindow.h" #include "winwindow.h"
#ifdef XWIN_MULTIWINDOWEXTWM
#include "windowswmstr.h" #include "windowswmstr.h"
#endif
extern void winDebug(const char *format, ...); extern void winDebug(const char *format, ...);
@ -1236,9 +1241,11 @@ winInitMultiWindowWM (WMInfoPtr pWMInfo, WMProcArgPtr pProcArg)
pWMInfo->atmWmDelete = XInternAtom (pWMInfo->pDisplay, pWMInfo->atmWmDelete = XInternAtom (pWMInfo->pDisplay,
"WM_DELETE_WINDOW", "WM_DELETE_WINDOW",
False); False);
#ifdef WIN_MULTIWINDOWEXTWM
pWMInfo->atmPrivMap = XInternAtom (pWMInfo->pDisplay, pWMInfo->atmPrivMap = XInternAtom (pWMInfo->pDisplay,
WINDOWSWM_NATIVE_HWND, WINDOWSWM_NATIVE_HWND,
False); False);
#endif
if (1) { if (1) {

View File

@ -31,6 +31,9 @@
*/ */
/* $XFree86: xc/programs/Xserver/hw/xwin/winmultiwindowwndproc.c,v 1.2 2003/10/02 13:30:11 eich Exp $ */ /* $XFree86: xc/programs/Xserver/hw/xwin/winmultiwindowwndproc.c,v 1.2 2003/10/02 13:30:11 eich Exp $ */
#ifdef HAVE_XWIN_CONFIG_H
#include <xwin-config.h>
#endif
#include "win.h" #include "win.h"
#include "dixevents.h" #include "dixevents.h"
#include "winmultiwindowclass.h" #include "winmultiwindowclass.h"

View File

@ -29,6 +29,9 @@
*/ */
/* $XFree86: xc/programs/Xserver/hw/xwin/winnativegdi.c,v 1.14 2003/07/29 21:25:18 dawes Exp $ */ /* $XFree86: xc/programs/Xserver/hw/xwin/winnativegdi.c,v 1.14 2003/07/29 21:25:18 dawes Exp $ */
#ifdef HAVE_XWIN_CONFIG_H
#include <xwin-config.h>
#endif
#include "win.h" #include "win.h"

View File

@ -32,6 +32,9 @@
*/ */
/* $XFree86: xc/programs/Xserver/hw/xwin/winpfbdd.c,v 1.17 2002/10/17 08:18:22 alanh Exp $ */ /* $XFree86: xc/programs/Xserver/hw/xwin/winpfbdd.c,v 1.17 2002/10/17 08:18:22 alanh Exp $ */
#ifdef HAVE_XWIN_CONFIG_H
#include <xwin-config.h>
#endif
#include "win.h" #include "win.h"

View File

@ -30,6 +30,9 @@
*/ */
/* $XFree86: xc/programs/Xserver/hw/xwin/winpixmap.c,v 1.10 2002/10/17 08:18:24 alanh Exp $ */ /* $XFree86: xc/programs/Xserver/hw/xwin/winpixmap.c,v 1.10 2002/10/17 08:18:24 alanh Exp $ */
#ifdef HAVE_XWIN_CONFIG_H
#include <xwin-config.h>
#endif
#include "win.h" #include "win.h"

View File

@ -28,6 +28,9 @@
* Authors: Harold L Hunt II * Authors: Harold L Hunt II
*/ */
#ifdef HAVE_XWIN_CONFIG_H
#include <xwin-config.h>
#endif
#include "win.h" #include "win.h"
/* See Porting Layer Definition - p. 39 /* See Porting Layer Definition - p. 39

View File

@ -28,6 +28,9 @@
* Authors: Harold L Hunt II * Authors: Harold L Hunt II
*/ */
#ifdef HAVE_XWIN_CONFIG_H
#include <xwin-config.h>
#endif
#include "win.h" #include "win.h"
/* See Porting Layer Definition - p. 50 */ /* See Porting Layer Definition - p. 50 */

View File

@ -29,6 +29,9 @@
*/ */
/* $XFree86: $ */ /* $XFree86: $ */
#ifdef HAVE_XWIN_CONFIG_H
#include <xwin-config.h>
#endif
#include <stdio.h> #include <stdio.h>
#include <stdlib.h> #include <stdlib.h>
#ifdef __CYGWIN__ #ifdef __CYGWIN__
@ -36,7 +39,7 @@
#endif #endif
#include "win.h" #include "win.h"
#include <Xwindows.h> #include <X11/Xwindows.h>
#include <shellapi.h> #include <shellapi.h>
#include "winprefs.h" #include "winprefs.h"

View File

@ -39,7 +39,7 @@
/* Need to know how long paths can be... */ /* Need to know how long paths can be... */
#include <limits.h> #include <limits.h>
/* Xwindows redefines PATH_MAX to at least 1024 */ /* Xwindows redefines PATH_MAX to at least 1024 */
#include <Xwindows.h> #include <X11/Xwindows.h>
#ifndef NAME_MAX #ifndef NAME_MAX
#define NAME_MAX PATH_MAX #define NAME_MAX PATH_MAX

View File

@ -30,6 +30,9 @@
*/ */
/* $XFree86: $ */ /* $XFree86: $ */
#ifdef HAVE_XWIN_CONFIG_H
#include <xwin-config.h>
#endif
#include <stdio.h> #include <stdio.h>
#include <stdlib.h> #include <stdlib.h>
#include <string.h> #include <string.h>

View File

@ -4,6 +4,9 @@
* Authors: Alexander Gottwald * Authors: Alexander Gottwald
*/ */
#ifdef HAVE_XWIN_CONFIG_H
#include <xwin-config.h>
#endif
#include "win.h" #include "win.h"
#include "winpriv.h" #include "winpriv.h"
#include "winwindow.h" #include "winwindow.h"

View File

@ -26,6 +26,14 @@ from The Open Group.
*/ */
#ifdef HAVE_XWIN_CONFIG_H
#include <xwin-config.h>
#endif
#ifdef XVENDORNAME
#define VENDOR_STRING XVENDORNAME
#define VERSION_STRING XORG_RELEASE
#define VENDOR_CONTACT BUILDERADDR
#endif
#include "win.h" #include "win.h"
#include "winconfig.h" #include "winconfig.h"
#include "winprefs.h" #include "winprefs.h"
@ -72,7 +80,7 @@ ENUMDISPLAYMONITORSPROC _EnumDisplayMonitors;
wBOOL CALLBACK getMonitorInfo(HMONITOR hMonitor, HDC hdc, LPRECT rect, LPARAM _data); wBOOL CALLBACK getMonitorInfo(HMONITOR hMonitor, HDC hdc, LPRECT rect, LPARAM _data);
Bool QueryMonitor(int index, struct GetMonitorInfoData *data) static Bool QueryMonitor(int index, struct GetMonitorInfoData *data)
{ {
/* Load EnumDisplayMonitors from DLL */ /* Load EnumDisplayMonitors from DLL */
HMODULE user32; HMODULE user32;

View File

@ -45,6 +45,9 @@ ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS
SOFTWARE. SOFTWARE.
******************************************************************/ ******************************************************************/
#ifdef HAVE_XWIN_CONFIG_H
#include <xwin-config.h>
#endif
#include <X11/X.h> #include <X11/X.h>
#include "gcstruct.h" #include "gcstruct.h"
#include "scrnintstr.h" #include "scrnintstr.h"

View File

@ -28,6 +28,9 @@
* Authors: Harold L Hunt II * Authors: Harold L Hunt II
*/ */
#ifdef HAVE_XWIN_CONFIG_H
#include <xwin-config.h>
#endif
#include "win.h" #include "win.h"

View File

@ -28,6 +28,9 @@
* Authors: Harold L Hunt II * Authors: Harold L Hunt II
*/ */
#ifdef HAVE_XWIN_CONFIG_H
#include <xwin-config.h>
#endif
#include "win.h" #include "win.h"
/* Prototypes */ /* Prototypes */

View File

@ -32,6 +32,9 @@
/* /*
* Raster operations used by Windows translated to X's 16 rop codes... * Raster operations used by Windows translated to X's 16 rop codes...
*/ */
#ifdef HAVE_XWIN_CONFIG_H
#include <xwin-config.h>
#endif
#include "win.h" #include "win.h"
void void

View File

@ -33,6 +33,9 @@
*/ */
/* $XFree86: xc/programs/Xserver/hw/xwin/winscrinit.c,v 1.27 2003/07/29 21:25:18 dawes Exp $ */ /* $XFree86: xc/programs/Xserver/hw/xwin/winscrinit.c,v 1.27 2003/07/29 21:25:18 dawes Exp $ */
#ifdef HAVE_XWIN_CONFIG_H
#include <xwin-config.h>
#endif
#include "win.h" #include "win.h"
#include "winmsg.h" #include "winmsg.h"
#include "safeAlpha.h" #include "safeAlpha.h"

View File

@ -30,6 +30,9 @@
*/ */
/* $XFree86: xc/programs/Xserver/hw/xwin/winsetsp.c,v 1.7 2001/11/01 12:19:42 alanh Exp $ */ /* $XFree86: xc/programs/Xserver/hw/xwin/winsetsp.c,v 1.7 2001/11/01 12:19:42 alanh Exp $ */
#ifdef HAVE_XWIN_CONFIG_H
#include <xwin-config.h>
#endif
#include "win.h" #include "win.h"

View File

@ -32,6 +32,9 @@
*/ */
/* $XFree86: xc/programs/Xserver/hw/xwin/winshaddd.c,v 1.22 2002/10/17 08:18:24 alanh Exp $ */ /* $XFree86: xc/programs/Xserver/hw/xwin/winshaddd.c,v 1.22 2002/10/17 08:18:24 alanh Exp $ */
#ifdef HAVE_XWIN_CONFIG_H
#include <xwin-config.h>
#endif
#include "win.h" #include "win.h"

View File

@ -32,6 +32,9 @@
*/ */
/* $XFree86: xc/programs/Xserver/hw/xwin/winshadddnl.c,v 1.23 2002/10/17 08:18:25 alanh Exp $ */ /* $XFree86: xc/programs/Xserver/hw/xwin/winshadddnl.c,v 1.23 2002/10/17 08:18:25 alanh Exp $ */
#ifdef HAVE_XWIN_CONFIG_H
#include <xwin-config.h>
#endif
#include "win.h" #include "win.h"

View File

@ -28,6 +28,9 @@
* Authors: Harold L Hunt II * Authors: Harold L Hunt II
*/ */
#ifdef HAVE_XWIN_CONFIG_H
#include <xwin-config.h>
#endif
#include "win.h" #include "win.h"

View File

@ -30,6 +30,9 @@
*/ */
/* $XFree86: $ */ /* $XFree86: $ */
#ifdef HAVE_XWIN_CONFIG_H
#include <xwin-config.h>
#endif
#include "win.h" #include "win.h"
#include <shellapi.h> #include <shellapi.h>
#include "winprefs.h" #include "winprefs.h"
@ -111,7 +114,7 @@ winHandleIconMessage (HWND hwnd, UINT message,
WPARAM wParam, LPARAM lParam, WPARAM wParam, LPARAM lParam,
winPrivScreenPtr pScreenPriv) winPrivScreenPtr pScreenPriv)
{ {
#ifdef XWIN_MULTIWINDOWEXTWM #if defined(XWIN_MULTIWINDOWEXTWM) || defined(XWIN_MULTIWINDOW)
winScreenInfo *pScreenInfo = pScreenPriv->pScreenInfo; winScreenInfo *pScreenInfo = pScreenPriv->pScreenInfo;
#endif #endif

View File

@ -28,6 +28,9 @@
* Authors: Harold L Hunt II * Authors: Harold L Hunt II
*/ */
#ifdef HAVE_XWIN_CONFIG_H
#include <xwin-config.h>
#endif
#include "win.h" #include "win.h"
#include "winmsg.h" #include "winmsg.h"

View File

@ -28,6 +28,9 @@
* Authors: Harold L Hunt II * Authors: Harold L Hunt II
*/ */
#ifdef HAVE_XWIN_CONFIG_H
#include <xwin-config.h>
#endif
#include "win.h" #include "win.h"
#include <X11/extensions/Xv.h> #include <X11/extensions/Xv.h>
#include <X11/extensions/Xvproto.h> #include <X11/extensions/Xvproto.h>

View File

@ -32,6 +32,9 @@
*/ */
/* $XFree86: xc/programs/Xserver/hw/xwin/winwakeup.c,v 1.6 2002/10/17 08:18:25 alanh Exp $ */ /* $XFree86: xc/programs/Xserver/hw/xwin/winwakeup.c,v 1.6 2002/10/17 08:18:25 alanh Exp $ */
#ifdef HAVE_XWIN_CONFIG_H
#include <xwin-config.h>
#endif
#include "win.h" #include "win.h"

View File

@ -32,6 +32,9 @@
/* /*
* Look at hw/darwin/quartz/xpr/xprFrame.c and hw/darwin/quartz/cr/crFrame.c * Look at hw/darwin/quartz/xpr/xprFrame.c and hw/darwin/quartz/cr/crFrame.c
*/ */
#ifdef HAVE_XWIN_CONFIG_H
#include <xwin-config.h>
#endif
#include "win.h" #include "win.h"
#include <winuser.h> #include <winuser.h>
#define _WINDOWSWM_SERVER_ #define _WINDOWSWM_SERVER_

View File

@ -30,6 +30,9 @@
* Harold L Hunt II * Harold L Hunt II
*/ */
#ifdef HAVE_XWIN_CONFIG_H
#include <xwin-config.h>
#endif
#include "win.h" #include "win.h"
#include "winprefs.h" #include "winprefs.h"

View File

@ -29,6 +29,9 @@
* Earle F. Philhower, III * Earle F. Philhower, III
* Harold L Hunt II * Harold L Hunt II
*/ */
#ifdef HAVE_XWIN_CONFIG_H
#include <xwin-config.h>
#endif
#include "win.h" #include "win.h"
#include <winuser.h> #include <winuser.h>
#define _WINDOWSWM_SERVER_ #define _WINDOWSWM_SERVER_

View File

@ -30,6 +30,9 @@
*/ */
/* $XFree86: xc/programs/Xserver/hw/xwin/winwindow.c,v 1.9 2003/11/10 18:22:44 tsi Exp $ */ /* $XFree86: xc/programs/Xserver/hw/xwin/winwindow.c,v 1.9 2003/11/10 18:22:44 tsi Exp $ */
#ifdef HAVE_XWIN_CONFIG_H
#include <xwin-config.h>
#endif
#include "win.h" #include "win.h"

View File

@ -26,6 +26,9 @@ SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
**************************************************************************/ **************************************************************************/
#ifdef HAVE_XWIN_CONFIG_H
#include <xwin-config.h>
#endif
#include "win.h" #include "win.h"
#define NEED_REPLIES #define NEED_REPLIES

View File

@ -33,6 +33,9 @@
*/ */
/* $XFree86: xc/programs/Xserver/hw/xwin/winwndproc.c,v 1.23 2002/10/17 08:18:25 alanh Exp $ */ /* $XFree86: xc/programs/Xserver/hw/xwin/winwndproc.c,v 1.23 2002/10/17 08:18:25 alanh Exp $ */
#ifdef HAVE_XWIN_CONFIG_H
#include <xwin-config.h>
#endif
#include "win.h" #include "win.h"
#include <commctrl.h> #include <commctrl.h>
#include "winprefs.h" #include "winprefs.h"