aboutsummaryrefslogtreecommitdiff
path: root/libxkbfile/src/XKBfileInt.h
diff options
context:
space:
mode:
Diffstat (limited to 'libxkbfile/src/XKBfileInt.h')
-rw-r--r--libxkbfile/src/XKBfileInt.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/libxkbfile/src/XKBfileInt.h b/libxkbfile/src/XKBfileInt.h
index e810e6131..ef188095d 100644
--- a/libxkbfile/src/XKBfileInt.h
+++ b/libxkbfile/src/XKBfileInt.h
@@ -61,6 +61,11 @@
#endif
+#include <unistd.h>
+#ifdef _MSC_VER
+#define inline __inline
+#endif
+
_XFUNCPROTOBEGIN
static inline