diff options
Diffstat (limited to 'xdpyinfo.c')
-rw-r--r-- | xdpyinfo.c | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -144,6 +144,7 @@ in this Software without prior written authorization from The Open Group. static char *ProgramName; static Bool queryExtensions = False; +#if defined(XF86MISC) || defined(XFreeXDGA) static int silent_errors(_X_UNUSED Display *dpy, _X_UNUSED XErrorEvent *ev) { @@ -151,6 +152,7 @@ silent_errors(_X_UNUSED Display *dpy, _X_UNUSED XErrorEvent *ev) } static int (*old_handler)(Display *, XErrorEvent *) = NULL; +#endif static int print_event_mask(char *buf, int lastcol, int indent, long mask); |