aboutsummaryrefslogtreecommitdiff
path: root/xorg-server/dix/inpututils.c
diff options
context:
space:
mode:
authormarha <marha@users.sourceforge.net>2010-06-20 14:26:02 +0000
committermarha <marha@users.sourceforge.net>2010-06-20 14:26:02 +0000
commit613f796c5d7850df96930ca94fa662191ce4d382 (patch)
tree07459f47d2662a3f48ad3ef61799cd6127967b42 /xorg-server/dix/inpututils.c
parente66a2779375c0aab603997d919d4c9619e4fa697 (diff)
downloadvcxsrv-613f796c5d7850df96930ca94fa662191ce4d382.tar.gz
vcxsrv-613f796c5d7850df96930ca94fa662191ce4d382.tar.bz2
vcxsrv-613f796c5d7850df96930ca94fa662191ce4d382.zip
include unistd.h where strdup is used.
Diffstat (limited to 'xorg-server/dix/inpututils.c')
-rw-r--r--xorg-server/dix/inpututils.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/xorg-server/dix/inpututils.c b/xorg-server/dix/inpututils.c
index 778e0a3f0..9e6ba0325 100644
--- a/xorg-server/dix/inpututils.c
+++ b/xorg-server/dix/inpututils.c
@@ -35,9 +35,6 @@
#include "xace.h"
#include "xkbsrv.h"
#include "xkbstr.h"
-#ifdef _MSC_VER
-#define strdup _strdup
-#endif
/* Check if a button map change is okay with the device.
* Returns -1 for BadValue, as it collides with MappingBusy. */