diff options
author | Matthieu Herrb <matthieu@cvs.openbsd.org> | 2010-04-13 19:54:47 +0000 |
---|---|---|
committer | Matthieu Herrb <matthieu@cvs.openbsd.org> | 2010-04-13 19:54:47 +0000 |
commit | adf90efb468836718a65424c703e4363b17e5e39 (patch) | |
tree | b3b53765b85ecf464c153af52327a32e126635f3 /xserver/os/WaitFor.c | |
parent | ca12b4fa619e24d52d0feb4dab5d579f82b4b8d7 (diff) |
Add a configure test for newer proto headers and use it to enable
building xserver 1.6 with those headers. ok oga@.
Diffstat (limited to 'xserver/os/WaitFor.c')
-rw-r--r-- | xserver/os/WaitFor.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/xserver/os/WaitFor.c b/xserver/os/WaitFor.c index d6dd99553..8afc958ea 100644 --- a/xserver/os/WaitFor.c +++ b/xserver/os/WaitFor.c @@ -109,9 +109,13 @@ mffs(fd_mask mask) } #ifdef DPMSExtension +#ifdef HAVE_X11_EXTENSIONS_DPMSCONST_H +#include <X11/extensions/dpmsconst.h> +#else #define DPMS_SERVER #include <X11/extensions/dpms.h> #endif +#endif struct _OsTimerRec { OsTimerPtr next; |