aboutsummaryrefslogtreecommitdiff
path: root/libX11/src
diff options
context:
space:
mode:
Diffstat (limited to 'libX11/src')
-rw-r--r--libX11/src/Host.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/libX11/src/Host.c b/libX11/src/Host.c
index b07c9c312..cdf079758 100644
--- a/libX11/src/Host.c
+++ b/libX11/src/Host.c
@@ -64,6 +64,10 @@ X Window System is a trademark of The Open Group.
#endif
#include "Xlibint.h"
+#ifdef _MSC_VER
+#define inline __inline
+#endif
+
static inline int
changehost (Display *dpy, XHostAddress *host, BYTE mode)
{