From 40265acfb3f2b71df5576b1229ffb139406c2f66 Mon Sep 17 00:00:00 2001 From: Stefano Ceccherini Date: Sun, 26 Jul 2009 08:04:13 +0000 Subject: [PATCH] Fix the build git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@31758 a95241bf-73f2-0310-859d-f6bbb57e9c96 --- src/kits/interface/Bitmap.cpp | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/kits/interface/Bitmap.cpp b/src/kits/interface/Bitmap.cpp index 95435a69db..5406fdaa98 100644 --- a/src/kits/interface/Bitmap.cpp +++ b/src/kits/interface/Bitmap.cpp @@ -37,6 +37,9 @@ #include +using namespace BPrivate; + + // get_raw_bytes_per_row /*! \brief Returns the number of bytes per row needed to store the actual bitmap data (not including any padding) given a color space and a @@ -106,6 +109,8 @@ get_raw_bytes_per_row(color_space colorSpace, int32 width) \return The number of bytes per row needed to store data for a row, or 0, if the color space is not supported. */ +namespace BPrivate { + int32 get_bytes_per_row(color_space colorSpace, int32 width) { @@ -115,6 +120,7 @@ get_bytes_per_row(color_space colorSpace, int32 width) return bpr; } +} // #pragma mark -