From 7b0af75a57b2d4b4a1083ddc6bb333697f3c6145 Mon Sep 17 00:00:00 2001 From: Christoph Reiter Date: Wed, 21 Aug 2019 20:46:30 +0200 Subject: [PATCH] Remove NEED_XIPROTO_H_FOR_XREPLY check It was only defined in the old autotools build to support a >20 year old x11, https://bugzilla.gnome.org/show_bug.cgi?id=148032 --- config.h.meson | 3 --- gdk/x11/gdkasync.c | 4 ---- 2 files changed, 7 deletions(-) diff --git a/config.h.meson b/config.h.meson index 209b65d03c..ebafd3eac6 100644 --- a/config.h.meson +++ b/config.h.meson @@ -185,9 +185,6 @@ /* Define to the sub-directory where libtool stores uninstalled libraries. */ #mesondefine LT_OBJDIR -/* Define if needed for xReply */ -#mesondefine NEED_XIPROTO_H_FOR_XREPLY - /* Define to 1 if your C compiler doesn't accept -c and -o together. */ #mesondefine NO_MINUS_C_MINUS_O diff --git a/gdk/x11/gdkasync.c b/gdk/x11/gdkasync.c index fc4d94eaf5..1ef7697617 100644 --- a/gdk/x11/gdkasync.c +++ b/gdk/x11/gdkasync.c @@ -47,10 +47,6 @@ in this Software without prior written authorization from The Open Group. #include "gdkprivate-x11.h" #include "gdkdisplay-x11.h" -#ifdef NEED_XIPROTO_H_FOR_XREPLY -#include -#endif - #include