aboutsummaryrefslogtreecommitdiff
path: root/libXfont/src/builtins/dir.c
diff options
context:
space:
mode:
Diffstat (limited to 'libXfont/src/builtins/dir.c')
-rw-r--r--libXfont/src/builtins/dir.c3
1 files changed, 3 insertions, 0 deletions
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 <config.h>
#endif
#include "builtin.h"
+#ifdef _MSC_VER
+#define strdup _strdup
+#endif
static BuiltinDirPtr
BuiltinDirsDup (const BuiltinDirPtr a_dirs,