aboutsummaryrefslogtreecommitdiff
path: root/libXfont/src/builtins
diff options
context:
space:
mode:
Diffstat (limited to 'libXfont/src/builtins')
-rw-r--r--libXfont/src/builtins/dir.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/libXfont/src/builtins/dir.c b/libXfont/src/builtins/dir.c
index 9b0a1c720..cd50cef56 100644
--- a/libXfont/src/builtins/dir.c
+++ b/libXfont/src/builtins/dir.c
@@ -25,9 +25,7 @@
#include <config.h>
#endif
#include "builtin.h"
-#ifdef _MSC_VER
-#define strdup _strdup
-#endif
+#include <unistd.h>
static BuiltinDirPtr
BuiltinDirsDup (const BuiltinDirPtr a_dirs,