From 53a79a4cde1643d209fbbb157e270242e074da08 Mon Sep 17 00:00:00 2001 From: Ingo Weinhold Date: Sat, 19 May 2007 15:01:11 +0000 Subject: [PATCH] Patch by Morgan Howe: Support for building on Mac OS X. It should now be possible to build a complete Haiku image. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@21171 a95241bf-73f2-0310-859d-f6bbb57e9c96 --- src/tools/addattr/Jamfile | 2 +- src/tools/fs_shell/Jamfile | 2 +- src/tools/fs_shell/unistd.cpp | 3 ++- 3 files changed, 4 insertions(+), 3 deletions(-) diff --git a/src/tools/addattr/Jamfile b/src/tools/addattr/Jamfile index 24e307b6fc..fb64f1545c 100644 --- a/src/tools/addattr/Jamfile +++ b/src/tools/addattr/Jamfile @@ -6,5 +6,5 @@ USES_BE_API on addattr = true ; BuildPlatformMain addattr : main.cpp addAttr.cpp - : $(HOST_LIBBE) $(HOST_LIBSUPC++) + : $(HOST_LIBBE) $(HOST_LIBSTDC++) $(HOST_LIBSUPC++) ; diff --git a/src/tools/fs_shell/Jamfile b/src/tools/fs_shell/Jamfile index 13ce3862bf..c51693b350 100644 --- a/src/tools/fs_shell/Jamfile +++ b/src/tools/fs_shell/Jamfile @@ -60,4 +60,4 @@ BuildPlatformStaticLibrary fs_shell.a : BuildPlatformMain fs_shell_command : fs_shell_command.cpp $(fsShellCommandSources) - : $(HOST_LIBSUPC++) ; + : $(HOST_LIBSTDC++) $(HOST_LIBSUPC++) ; diff --git a/src/tools/fs_shell/unistd.cpp b/src/tools/fs_shell/unistd.cpp index bf95e8a34c..2569fc6e46 100644 --- a/src/tools/fs_shell/unistd.cpp +++ b/src/tools/fs_shell/unistd.cpp @@ -19,7 +19,8 @@ #ifdef __BEOS__ # include #else -# if defined(HAIKU_HOST_PLATFORM_FREEBSD) +# if defined(HAIKU_HOST_PLATFORM_FREEBSD) \ + || defined(HAIKU_HOST_PLATFORM_DARWIN) # include # else // the (POSIX) correct place of definition for ioctl()