From: Carlos Garcia Campos Date: Mon, 14 May 2007 10:50:58 +0000 (+0000) Subject: Add missing ulong definition. Add missing headers. Fix compilation on X-Git-Tag: EVINCE_0_9_0~5 X-Git-Url: https://www.fi.muni.cz/~kas/git//home/kas/public_html/git/?a=commitdiff_plain;h=299f62a707f68651d76476e87dd030ef3b3174ea;p=evince.git Add missing ulong definition. Add missing headers. Fix compilation on 2007-05-14 Carlos Garcia Campos * backend/impress/zip.c: Add missing ulong definition. * backend/ps/ps-interpreter.c: Add missing headers. Fix compilation on FreeBSD. Patch by Roy Marples. Fixes bug #438277. svn path=/trunk/; revision=2454 --- diff --git a/ChangeLog b/ChangeLog index 060e3a64..6ce79339 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,13 @@ +2007-05-14 Carlos Garcia Campos + + * backend/impress/zip.c: + Add missing ulong definition. + + * backend/ps/ps-interpreter.c: + Add missing headers. + + Fix compilation on FreeBSD. Patch by Roy Marples. Fixes bug #438277. + 2007-05-14 Carlos Garcia Campos * backend/pdf/ev-poppler.cc: (pdf_document_dispose): diff --git a/backend/impress/zip.c b/backend/impress/zip.c index 4b179b55..7143aa1e 100644 --- a/backend/impress/zip.c +++ b/backend/impress/zip.c @@ -9,6 +9,8 @@ #include #define _(x) x +typedef unsigned long ulong; + enum { ZIP_OK = 0, ZIP_NOMEM, diff --git a/backend/ps/ps-interpreter.c b/backend/ps/ps-interpreter.c index 55f55d40..b17af854 100644 --- a/backend/ps/ps-interpreter.c +++ b/backend/ps/ps-interpreter.c @@ -28,6 +28,8 @@ #include #include #include +#include +#include #include #include