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
-rw-r--r--xorg-server/config/makefile4
2 files changed, 8 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)
{
diff --git a/xorg-server/config/makefile b/xorg-server/config/makefile
new file mode 100644
index 000000000..937785271
--- /dev/null
+++ b/xorg-server/config/makefile
@@ -0,0 +1,4 @@
+CSRCS=config.c
+
+LIBRARY=libconfig
+