From c7b63b852475dda818cc7b1baaf8e59df789a296 Mon Sep 17 00:00:00 2001 From: marha Date: Wed, 19 May 2010 08:47:07 +0000 Subject: Solved compile warning --- libXfont/src/builtins/dir.c | 3 +++ 1 file changed, 3 insertions(+) (limited to 'libXfont/src/builtins') diff --git a/libXfont/src/builtins/dir.c b/libXfont/src/builtins/dir.c index bf351b147..9b0a1c720 100644 --- a/libXfont/src/builtins/dir.c +++ b/libXfont/src/builtins/dir.c @@ -25,6 +25,9 @@ #include #endif #include "builtin.h" +#ifdef _MSC_VER +#define strdup _strdup +#endif static BuiltinDirPtr BuiltinDirsDup (const BuiltinDirPtr a_dirs, -- cgit v1.2.3