aboutsummaryrefslogtreecommitdiff
path: root/apps
diff options
context:
space:
mode:
Diffstat (limited to 'apps')
-rwxr-xr-xapps/xhost/xhost.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/apps/xhost/xhost.c b/apps/xhost/xhost.c
index a6baa9dbf..44d85a09e 100755
--- a/apps/xhost/xhost.c
+++ b/apps/xhost/xhost.c
@@ -92,6 +92,10 @@ X Window System is a trademark of The Open Group.
#include <arpa/inet.h>
#endif
+#ifdef _MSC_VER
+#define _X_UNUSED
+#endif
+
#ifdef SECURE_RPC
#include <pwd.h>