From 064a8d7f03e8576be8d581a197efe12d319304e6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Kristian=20H=C3=B8gsberg?= Date: Fri, 13 Sep 2013 14:53:16 -0700 Subject: [PATCH 27/39] os: Don't include xorg-server.h Just always compile in ListenOnOpenFD and AddClientOnOpenFD, they don't depend on anything from Quartz or Wayland. --- os/connection.c | 4 ---- 1 file changed, 4 deletions(-) diff --git a/os/connection.c b/os/connection.c index a95e7da..0a858b7 100644 --- a/os/connection.c +++ b/os/connection.c @@ -64,7 +64,6 @@ SOFTWARE. #include #endif -#include #ifdef WIN32 #include #endif @@ -1259,7 +1258,6 @@ MakeClientGrabPervious(ClientPtr client) } } -#if defined(XQUARTZ) || defined(XORG_WAYLAND) /* Add a fd (from launchd) to our listeners */ void ListenOnOpenFD(int fd, int noxauth) @@ -1334,5 +1332,3 @@ AddClientOnOpenFD(int fd) return; } } - -#endif -- 1.8.3.1