diff options
author | Colin Harrison <colin.harrison@virgin.net> | 2015-03-20 14:06:49 +0000 |
---|---|---|
committer | Jon TURNEY <jon.turney@dronecode.org.uk> | 2015-04-22 12:55:15 +0100 |
commit | 8363ef2764fe9c6877d1cb21d3ce7b6cf869f00d (patch) | |
tree | 3e229639cfd30a4c82ac7759297f1898edf10912 /os/xdmcp.c | |
parent | b1029716e41e252f149b82124a149da180607c96 (diff) |
os/xdmcp.c: Include Xtrans.h when building for WIN32
Xtrans.h must be included on WIN32 to prototype _XSERVTransWSAStartup()
xserver/os/xdmcp.c: In function ‘get_addr_by_name’:
xserver/os/xdmcp.c:1483:5: error: implicit declaration of function ‘_XSERVTransWSAStartup’ [-Werror=implicit-function-declaration]
Signed-off-by: Colin Harrison <colin.harrison@virgin.net>
Reviewed-by: Jon TURNEY <jon.turney@dronecode.org.uk>
Diffstat (limited to 'os/xdmcp.c')
-rw-r--r-- | os/xdmcp.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/os/xdmcp.c b/os/xdmcp.c index bc5a70706..b265db338 100644 --- a/os/xdmcp.c +++ b/os/xdmcp.c @@ -19,6 +19,10 @@ #ifdef WIN32 #include <X11/Xwinsock.h> +#define XSERV_t +#define TRANS_SERVER +#define TRANS_REOPEN +#include <X11/Xtrans/Xtrans.h> #endif #include <X11/Xos.h> |