aboutsummaryrefslogtreecommitdiff
path: root/xorg-server/config
diff options
context:
space:
mode:
Diffstat (limited to 'xorg-server/config')
-rw-r--r--xorg-server/config/config.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/xorg-server/config/config.c b/xorg-server/config/config.c
index 5a7b0ea17..7566748b9 100644
--- a/xorg-server/config/config.c
+++ b/xorg-server/config/config.c
@@ -32,6 +32,10 @@
#include "hotplug.h"
#include "config-backends.h"
+#ifdef _MSC_VER
+#define strdup _strdup
+#endif
+
void
config_init(void)
{