diff --git a/src/add-ons/kernel/file_systems/userlandfs/private/RequestAllocator.cpp b/src/add-ons/kernel/file_systems/userlandfs/private/RequestAllocator.cpp index 1beee1b871..56104c3f08 100644 --- a/src/add-ons/kernel/file_systems/userlandfs/private/RequestAllocator.cpp +++ b/src/add-ons/kernel/file_systems/userlandfs/private/RequestAllocator.cpp @@ -4,6 +4,7 @@ */ #include +#include #include "AreaSupport.h" #include "Compatibility.h" @@ -238,7 +239,8 @@ RequestAllocator::AllocateAddress(Address& address, int32 size, int32 align, #else B_ANY_ADDRESS, #endif - areaSize, B_NO_LOCK, B_READ_AREA | B_WRITE_AREA); + areaSize, B_NO_LOCK, + B_READ_AREA | B_WRITE_AREA | B_USER_CLONEABLE_AREA); if (area < 0) RETURN_ERROR(area); fAllocatedAreas[fAllocatedAreaCount++] = area;