diff --git a/hw/xnest/Args.c b/hw/xnest/Args.c index 75aa396fbc..a366774916 100644 --- a/hw/xnest/Args.c +++ b/hw/xnest/Args.c @@ -14,6 +14,10 @@ is" without express or implied warranty. */ /* $XFree86$ */ +#ifdef HAVE_XNEST_CONFIG_H +#include +#endif + #include #include #include "screenint.h" diff --git a/hw/xnest/Color.c b/hw/xnest/Color.c index 61f4c44c09..779633a961 100644 --- a/hw/xnest/Color.c +++ b/hw/xnest/Color.c @@ -14,6 +14,10 @@ is" without express or implied warranty. */ /* $XFree86$ */ +#ifdef HAVE_XNEST_CONFIG_H +#include +#endif + #include #include #include "scrnintstr.h" diff --git a/hw/xnest/Cursor.c b/hw/xnest/Cursor.c index cea8b60d02..f95860022a 100644 --- a/hw/xnest/Cursor.c +++ b/hw/xnest/Cursor.c @@ -14,6 +14,10 @@ is" without express or implied warranty. */ /* $XFree86: xc/programs/Xserver/hw/xnest/Cursor.c,v 1.3 2002/11/23 19:27:50 tsi Exp $ */ +#ifdef HAVE_XNEST_CONFIG_H +#include +#endif + #include #include #include "screenint.h" diff --git a/hw/xnest/Display.c b/hw/xnest/Display.c index 602a6c9b2c..fa8457651c 100644 --- a/hw/xnest/Display.c +++ b/hw/xnest/Display.c @@ -15,6 +15,10 @@ is" without express or implied warranty. /* $XFree86: xc/programs/Xserver/hw/xnest/Display.c,v 3.4 2001/10/28 03:34:10 tsi Exp $ */ +#ifdef HAVE_XNEST_CONFIG_H +#include +#endif + #include #include #include "screenint.h" diff --git a/hw/xnest/Events.c b/hw/xnest/Events.c index 98b7e50463..3d520279cb 100644 --- a/hw/xnest/Events.c +++ b/hw/xnest/Events.c @@ -14,6 +14,10 @@ is" without express or implied warranty. */ /* $XFree86: xc/programs/Xserver/hw/xnest/Events.c,v 1.2 2001/08/01 00:44:57 tsi Exp $ */ +#ifdef HAVE_XNEST_CONFIG_H +#include +#endif + #include #define NEED_EVENTS #include diff --git a/hw/xnest/Font.c b/hw/xnest/Font.c index bdc0180aed..d86816e8f9 100644 --- a/hw/xnest/Font.c +++ b/hw/xnest/Font.c @@ -14,6 +14,10 @@ is" without express or implied warranty. */ /* $XFree86: xc/programs/Xserver/hw/xnest/Font.c,v 3.6 2003/07/16 01:38:51 dawes Exp $ */ +#ifdef HAVE_XNEST_CONFIG_H +#include +#endif + #include #include #include diff --git a/hw/xnest/GC.c b/hw/xnest/GC.c index 8ef90588fb..e46b48f111 100644 --- a/hw/xnest/GC.c +++ b/hw/xnest/GC.c @@ -14,6 +14,10 @@ is" without express or implied warranty. */ /* $XFree86: xc/programs/Xserver/hw/xnest/GC.c,v 3.6 2001/10/28 03:34:11 tsi Exp $ */ +#ifdef HAVE_XNEST_CONFIG_H +#include +#endif + #include #include #include "gcstruct.h" diff --git a/hw/xnest/GCOps.c b/hw/xnest/GCOps.c index 0e80f7118a..2334248236 100644 --- a/hw/xnest/GCOps.c +++ b/hw/xnest/GCOps.c @@ -14,6 +14,10 @@ is" without express or implied warranty. */ /* $XFree86: xc/programs/Xserver/hw/xnest/GCOps.c,v 3.5 2003/07/16 01:38:51 dawes Exp $ */ +#ifdef HAVE_XNEST_CONFIG_H +#include +#endif + #include #include #include "regionstr.h" diff --git a/hw/xnest/GetTime.c b/hw/xnest/GetTime.c index 421234316d..bdcc6beaee 100644 --- a/hw/xnest/GetTime.c +++ b/hw/xnest/GetTime.c @@ -31,10 +31,15 @@ from the X Consortium. /* $XFree86$ */ +#ifdef HAVE_XNEST_CONFIG_H +#include +#endif + #include #include "os.h" #include +#ifdef DDXTIME CARD32 GetTimeInMillis() { @@ -43,3 +48,4 @@ GetTimeInMillis() X_GETTIMEOFDAY(&tp); return(tp.tv_sec * 1000) + (tp.tv_usec / 1000); } +#endif diff --git a/hw/xnest/Handlers.c b/hw/xnest/Handlers.c index 362e9a4b64..9915502c44 100644 --- a/hw/xnest/Handlers.c +++ b/hw/xnest/Handlers.c @@ -14,6 +14,10 @@ is" without express or implied warranty. */ /* $XFree86: xc/programs/Xserver/hw/xnest/Handlers.c,v 1.2 2001/08/01 00:44:57 tsi Exp $ */ +#ifdef HAVE_XNEST_CONFIG_H +#include +#endif + #include #include #include "screenint.h" diff --git a/hw/xnest/Init.c b/hw/xnest/Init.c index d520a4ef53..f2e7122f3c 100644 --- a/hw/xnest/Init.c +++ b/hw/xnest/Init.c @@ -14,6 +14,10 @@ is" without express or implied warranty. */ /* $XFree86: xc/programs/Xserver/hw/xnest/Init.c,v 3.24 2003/01/15 02:34:14 torrey Exp $ */ +#ifdef HAVE_XNEST_CONFIG_H +#include +#endif + #include #include #include "screenint.h" diff --git a/hw/xnest/Keyboard.c b/hw/xnest/Keyboard.c index d1260c694f..52c5e91fea 100644 --- a/hw/xnest/Keyboard.c +++ b/hw/xnest/Keyboard.c @@ -16,9 +16,13 @@ is" without express or implied warranty. /* $XFree86: xc/programs/Xserver/hw/xnest/Keyboard.c,v 1.9 2003/09/13 21:33:09 dawes Exp $ */ #define NEED_EVENTS +#ifdef HAVE_XNEST_CONFIG_H +#include +#endif + #include #include -#include "keysym.h" +#include #include "screenint.h" #include "inputstr.h" #include "misc.h" diff --git a/hw/xnest/Pixmap.c b/hw/xnest/Pixmap.c index 5693822037..30ffbc6e67 100644 --- a/hw/xnest/Pixmap.c +++ b/hw/xnest/Pixmap.c @@ -14,6 +14,10 @@ is" without express or implied warranty. */ /* $XFree86: xc/programs/Xserver/hw/xnest/Pixmap.c,v 3.7 2003/07/16 01:38:51 dawes Exp $ */ +#ifdef HAVE_XNEST_CONFIG_H +#include +#endif + #include #include #include "regionstr.h" diff --git a/hw/xnest/Pointer.c b/hw/xnest/Pointer.c index 7613122bed..1533a06d87 100644 --- a/hw/xnest/Pointer.c +++ b/hw/xnest/Pointer.c @@ -14,6 +14,10 @@ is" without express or implied warranty. */ /* $XFree86$ */ +#ifdef HAVE_XNEST_CONFIG_H +#include +#endif + #include #include #include "screenint.h" diff --git a/hw/xnest/Screen.c b/hw/xnest/Screen.c index 1ce79cc527..660e54fe7a 100644 --- a/hw/xnest/Screen.c +++ b/hw/xnest/Screen.c @@ -14,6 +14,10 @@ is" without express or implied warranty. */ /* $XFree86: xc/programs/Xserver/hw/xnest/Screen.c,v 3.12 2003/11/14 22:25:59 dawes Exp $ */ +#ifdef HAVE_XNEST_CONFIG_H +#include +#endif + #include #include #include "scrnintstr.h" diff --git a/hw/xnest/TestExt.c b/hw/xnest/TestExt.c index be9299c310..74446b050f 100644 --- a/hw/xnest/TestExt.c +++ b/hw/xnest/TestExt.c @@ -14,6 +14,10 @@ is" without express or implied warranty. */ /* $XFree86: xc/programs/Xserver/hw/xnest/TestExt.c,v 3.5 2001/08/27 17:41:00 dawes Exp $ */ +#ifdef HAVE_XNEST_CONFIG_H +#include +#endif + #include #include #include diff --git a/hw/xnest/Visual.c b/hw/xnest/Visual.c index 93e9fb38ab..bbdb71ec6a 100644 --- a/hw/xnest/Visual.c +++ b/hw/xnest/Visual.c @@ -14,6 +14,10 @@ is" without express or implied warranty. */ /* $XFree86$ */ +#ifdef HAVE_XNEST_CONFIG_H +#include +#endif + #include #include #include "scrnintstr.h" diff --git a/hw/xnest/Window.c b/hw/xnest/Window.c index 6d2fccc319..f652c342ad 100644 --- a/hw/xnest/Window.c +++ b/hw/xnest/Window.c @@ -14,6 +14,10 @@ is" without express or implied warranty. */ /* $XFree86: xc/programs/Xserver/hw/xnest/Window.c,v 3.7 2001/10/28 03:34:11 tsi Exp $ */ +#ifdef HAVE_XNEST_CONFIG_H +#include +#endif + #include #include #include "gcstruct.h" diff --git a/mi/miinitext.c b/mi/miinitext.c index 486bd7dce0..acc074378d 100644 --- a/mi/miinitext.c +++ b/mi/miinitext.c @@ -56,6 +56,11 @@ SOFTWARE. #include #endif +#ifdef HAVE_XNEST_CONFIG_H +#include +#undef DPMSExtension +#endif + #include "misc.h" #include "extension.h" #include "micmap.h"