Signed-off-by: Jon TURNEY <[email protected]>
---
 xhost.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/xhost.c b/xhost.c
index 93f4575..aa1dbec 100644
--- a/xhost.c
+++ b/xhost.c
@@ -899,7 +899,7 @@ local_xerror(Display *dpy, XErrorEvent *rep)
     return 0;
 }
 
-#ifdef __CYGWIN__
+#if defined(__CYGWIN__) || defined(WIN32)
 void sethostent(int x)
 {}
 
-- 
1.7.9

_______________________________________________
[email protected]: X.Org development
Archives: http://lists.x.org/archives/xorg-devel
Info: http://lists.x.org/mailman/listinfo/xorg-devel

Reply via email to