aboutsummaryrefslogtreecommitdiff
path: root/xorg-server/hw/xwin/glx/indirect.c
diff options
context:
space:
mode:
Diffstat (limited to 'xorg-server/hw/xwin/glx/indirect.c')
-rw-r--r--xorg-server/hw/xwin/glx/indirect.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/xorg-server/hw/xwin/glx/indirect.c b/xorg-server/hw/xwin/glx/indirect.c
index bc0d24841..ce58c0a05 100644
--- a/xorg-server/hw/xwin/glx/indirect.c
+++ b/xorg-server/hw/xwin/glx/indirect.c
@@ -80,6 +80,10 @@
#include "win.h"
#include <winmsg.h>
+#ifdef _MSC_VER
+#define strdup _strdup
+#endif
+
extern Bool g_fXdmcpEnabled;
extern Bool g_fNativeGl;