summaryrefslogtreecommitdiff
path: root/hw/xquartz/xpr/xprEvent.c
diff options
context:
space:
mode:
Diffstat (limited to 'hw/xquartz/xpr/xprEvent.c')
-rw-r--r--hw/xquartz/xpr/xprEvent.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/hw/xquartz/xpr/xprEvent.c b/hw/xquartz/xpr/xprEvent.c
index 398177ca8..e193a2747 100644
--- a/hw/xquartz/xpr/xprEvent.c
+++ b/hw/xquartz/xpr/xprEvent.c
@@ -52,9 +52,7 @@
#include <sys/uio.h>
#include <unistd.h>
-#ifdef HAVE_LIBDISPATCH
#include <dispatch/dispatch.h>
-#endif
#include "rootlessWindow.h"
#include "xprEvent.h"
@@ -79,7 +77,7 @@ QuartzModeEventHandler(int screenNum, XQuartzEvent *e, DeviceIntPtr dev)
/* There's no need to do xp_window_bring_all_to_front on Leopard,
* and we don't care about the result, so just do it async.
*/
-#if defined(HAVE_LIBDISPATCH) && defined(XPLUGIN_VERSION) && XPLUGIN_VERSION >= 6
+#if defined(XPLUGIN_VERSION) && XPLUGIN_VERSION >= 6
# if defined(XPLUGIN_VERSION_MIN_REQUIRED) && XPLUGIN_VERSION_MIN_REQUIRED < 6
if (&xp_window_bring_all_to_front) {
# endif