aboutsummaryrefslogtreecommitdiff
path: root/xorg-server/xkb
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/xkb
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/xkb')
-rw-r--r--xorg-server/xkb/ddxLoad.c2
-rw-r--r--xorg-server/xkb/xkbUtils.c4
2 files changed, 0 insertions, 6 deletions
diff --git a/xorg-server/xkb/ddxLoad.c b/xorg-server/xkb/ddxLoad.c
index b8fd71776..127180a34 100644
--- a/xorg-server/xkb/ddxLoad.c
+++ b/xorg-server/xkb/ddxLoad.c
@@ -74,8 +74,6 @@ THE USE OR PERFORMANCE OF THIS SOFTWARE.
#ifdef WIN32
-#define strdup _strdup
-
#include <X11/Xwindows.h>
const char*
Win32TempDir()
diff --git a/xorg-server/xkb/xkbUtils.c b/xorg-server/xkb/xkbUtils.c
index 63c99e51b..b0e643e62 100644
--- a/xorg-server/xkb/xkbUtils.c
+++ b/xorg-server/xkb/xkbUtils.c
@@ -69,10 +69,6 @@ DEALINGS IN THE SOFTWARE.
#include "xkbgeom.h"
#include "xkb.h"
-#ifdef _MSC_VER
-#define strdup _strdup
-#endif
-
/***====================================================================***/
int