From d85e9f360392525f069cb89c0d3e97aab9d7d595 Mon Sep 17 00:00:00 2001 From: marha Date: Tue, 18 May 2010 20:21:01 +0000 Subject: Solved compile warnings --- xorg-server/os/utils.c | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'xorg-server/os') 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; -- cgit v1.2.3