diff --git a/hw/xquartz/darwinEvents.c b/hw/xquartz/darwinEvents.c index 35e33bab1..5aa16ffab 100644 --- a/hw/xquartz/darwinEvents.c +++ b/hw/xquartz/darwinEvents.c @@ -47,6 +47,7 @@ #include #include "mi/mi_priv.h" +#include "os/client_priv.h" #include "misc.h" #include "windowstr.h" diff --git a/include/os.h b/include/os.h index 909411933..423346aaa 100644 --- a/include/os.h +++ b/include/os.h @@ -133,8 +133,6 @@ extern _X_EXPORT void IgnoreClient(ClientPtr /*client */ ); extern _X_EXPORT void AttendClient(ClientPtr /*client */ ); -extern _X_EXPORT void ListenOnOpenFD(int /* fd */ , int /* noxauth */ ); - extern _X_EXPORT CARD32 GetTimeInMillis(void); extern _X_EXPORT CARD64 GetTimeInMicros(void); diff --git a/os/client_priv.h b/os/client_priv.h index 111276cb9..fd1d9cea7 100644 --- a/os/client_priv.h +++ b/os/client_priv.h @@ -41,5 +41,6 @@ const char *ClientAuthorized(struct _Client *client, unsigned int string_n, char *auth_string); Bool AddClientOnOpenFD(int fd); +void ListenOnOpenFD(int fd, int noxauth); #endif /* _XSERVER_DIX_CLIENT_PRIV_H */