aboutsummaryrefslogtreecommitdiff
path: root/xorg-server/os
diff options
context:
space:
mode:
Diffstat (limited to 'xorg-server/os')
-rw-r--r--xorg-server/os/utils.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/xorg-server/os/utils.c b/xorg-server/os/utils.c
index cc5332300..a55ecf8f0 100644
--- a/xorg-server/os/utils.c
+++ b/xorg-server/os/utils.c
@@ -122,6 +122,10 @@ __stdcall unsigned long GetTickCount(void);
#include "picture.h"
+#ifdef _MSC_VER
+#define strdup _strdup
+#endif
+
Bool noTestExtensions;
#ifdef COMPOSITE
Bool noCompositeExtension = FALSE;