size_t wasn't declared. While this could be resolved differently, convention is to include BKE after BLI.