diff --git a/src/build/libbe/storage/mime/UpdateMimeInfoThread.cpp b/src/build/libbe/storage/mime/UpdateMimeInfoThread.cpp index 03a2c0a199..62ce9fdc25 100644 --- a/src/build/libbe/storage/mime/UpdateMimeInfoThread.cpp +++ b/src/build/libbe/storage/mime/UpdateMimeInfoThread.cpp @@ -18,6 +18,7 @@ #include #include #include +#include #include #include #include @@ -107,7 +108,7 @@ update_vector_icon(BFile& file, const char *type) } -#if defined(HAIKU_HOST_PLATFORM_DANO) || defined(HAIKU_HOST_PLATFORM_BEOS) && defined(HAIKU_HOST_PLATFORM_BONE) +#if defined(HAIKU_HOST_PLATFORM_DANO) || defined(HAIKU_HOST_PLATFORM_BEOS) || defined(HAIKU_HOST_PLATFORM_BONE) // BMimeType::GuessMimeType() doesn't seem to work under BeOS status_t guess_mime_type(const void *_buffer, int32 length, BMimeType *type)