diff options
Diffstat (limited to 'backend/ev-document-factory.c')
-rw-r--r-- | backend/ev-document-factory.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/backend/ev-document-factory.c b/backend/ev-document-factory.c index 1cf3014..a695c45 100644 --- a/backend/ev-document-factory.c +++ b/backend/ev-document-factory.c @@ -28,7 +28,9 @@ #include "ev-poppler.h" #include "pixbuf-document.h" #include "tiff-document.h" +#ifdef ENABLE_PS #include "ps-document.h" +#endif #ifdef ENABLE_DVI #include "dvi-document.h" #endif @@ -53,10 +55,12 @@ const EvDocumentType document_types[] = { /* PDF: */ {"application/pdf", EV_BACKEND_PDF, pdf_document_get_type}, +#ifdef ENABLE_PS /* Postscript: */ {"application/postscript", EV_BACKEND_PS, ps_document_get_type}, {"application/x-gzpostscript", EV_BACKEND_PS, ps_document_get_type}, {"image/x-eps", EV_BACKEND_PS, ps_document_get_type}, +#endif #ifdef ENABLE_TIFF /* Tiff: */ |