From 613f796c5d7850df96930ca94fa662191ce4d382 Mon Sep 17 00:00:00 2001 From: marha Date: Sun, 20 Jun 2010 14:26:02 +0000 Subject: include unistd.h where strdup is used. --- xorg-server/xkb/ddxLoad.c | 2 -- xorg-server/xkb/xkbUtils.c | 4 ---- 2 files changed, 6 deletions(-) (limited to 'xorg-server/xkb') 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 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 -- cgit v1.2.3