aboutsummaryrefslogtreecommitdiff
path: root/xorg-server/include/misc.h
diff options
context:
space:
mode:
Diffstat (limited to 'xorg-server/include/misc.h')
-rw-r--r--xorg-server/include/misc.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/xorg-server/include/misc.h b/xorg-server/include/misc.h
index 847864ce9..7a9566d26 100644
--- a/xorg-server/include/misc.h
+++ b/xorg-server/include/misc.h
@@ -80,6 +80,10 @@ OF THIS SOFTWARE.
#include <stddef.h>
+#ifdef _MSC_VER
+#define inline __inline
+#endif
+
#ifndef MAXSCREENS
#define MAXSCREENS 16
#endif