diff --git a/src/add-ons/print/drivers/shared/libprint/GraphicsDriver.cpp b/src/add-ons/print/drivers/shared/libprint/GraphicsDriver.cpp index e0ef649f17..d7d5e1e5eb 100644 --- a/src/add-ons/print/drivers/shared/libprint/GraphicsDriver.cpp +++ b/src/add-ons/print/drivers/shared/libprint/GraphicsDriver.cpp @@ -73,9 +73,12 @@ GraphicsDriver::setupData(BFile *spool_file) // already initialized return true; } - - print_file_header pfh; +#ifndef __ZETA__ + print_file_header pfh; +#else + BPrintJob::print_file_header pfh; +#endif spool_file->Seek(0, SEEK_SET); spool_file->Read(&pfh, sizeof(pfh)); diff --git a/src/add-ons/print/shared/PrintJobReader.cpp b/src/add-ons/print/shared/PrintJobReader.cpp index fe18838854..b82c43e8d1 100644 --- a/src/add-ons/print/shared/PrintJobReader.cpp +++ b/src/add-ons/print/shared/PrintJobReader.cpp @@ -28,6 +28,7 @@ THE SOFTWARE. */ #include +#include #include #include "PrintJobReader.h" @@ -103,7 +104,11 @@ PrintJobReader::PrintJobReader(BFile* jobFile) , fNumberOfPages(-1) , fPageIndex(NULL) { +#ifndef __ZETA__ print_file_header header; +#else + BPrintJob::print_file_header header; +#endif fJobFile.Seek(0, SEEK_SET); if (fJobFile.Read(&header, sizeof(header)) == sizeof(header) && fJobSettings.Unflatten(&fJobFile) == B_OK) { diff --git a/src/servers/print/shared/BeUtils.cpp b/src/servers/print/shared/BeUtils.cpp index 40f0f729d6..2eb2522ee9 100644 --- a/src/servers/print/shared/BeUtils.cpp +++ b/src/servers/print/shared/BeUtils.cpp @@ -103,7 +103,11 @@ static bool InList(const char* list[], const char* name) { void AddFields(BMessage* to, const BMessage* from, const char* excludeList[], const char* includeList[], bool overwrite) { if (to == from) return; +#ifndef __ZETA__ char* name; +#else + const char* name; +#endif type_code type; int32 count; for (int32 i = 0; from->GetInfo(B_ANY_TYPE, i, &name, &type, &count) == B_OK; i ++) {