From 73dca3f3fdd7cca8a32974b989c5243bd23f7791 Mon Sep 17 00:00:00 2001 From: Carlos Garcia Campos Date: Thu, 15 Feb 2007 17:40:23 +0000 Subject: [PATCH] Fix build on Mac. Fixes bug #392186. Patch by 2007-02-15 Carlos Garcia Campos * backend/djvu/djvu-text.h: * backend/djvu/djvu-document.c: * backend/djvu/djvu-text-page.c: * backend/djvu/djvu-links.c: * backend/djvu/djvu-text-page.h: * backend/djvu/djvu-text.c: Fix build on Mac. Fixes bug #392186. Patch by svn path=/trunk/; revision=2328 --- ChangeLog | 12 ++++++++++++ backend/djvu/djvu-document.c | 2 -- backend/djvu/djvu-links.c | 7 +++---- backend/djvu/djvu-text-page.c | 4 +++- backend/djvu/djvu-text-page.h | 1 - backend/djvu/djvu-text.c | 7 +++++-- backend/djvu/djvu-text.h | 2 -- 7 files changed, 23 insertions(+), 12 deletions(-) diff --git a/ChangeLog b/ChangeLog index f0fbff27..0997dc71 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,15 @@ +2007-02-15 Carlos Garcia Campos + + * backend/djvu/djvu-text.h: + * backend/djvu/djvu-document.c: + * backend/djvu/djvu-text-page.c: + * backend/djvu/djvu-links.c: + * backend/djvu/djvu-text-page.h: + * backend/djvu/djvu-text.c: + + Fix build on Mac. Fixes bug #392186. Patch by + + 2007-02-15 Carlos Garcia Campos * backend/pdf/ev-poppler.cc: (pdf_document_file_exporter_do_page): diff --git a/backend/djvu/djvu-document.c b/backend/djvu/djvu-document.c index df5ecb34..bf74c9a2 100644 --- a/backend/djvu/djvu-document.c +++ b/backend/djvu/djvu-document.c @@ -26,8 +26,6 @@ #include "ev-document-find.h" #include "ev-document-links.h" -#include -#include #include #include #include diff --git a/backend/djvu/djvu-links.c b/backend/djvu/djvu-links.c index bdc24be8..87057d49 100644 --- a/backend/djvu/djvu-links.c +++ b/backend/djvu/djvu-links.c @@ -18,15 +18,14 @@ * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ +#include +#include +#include #include "djvu-document.h" #include "djvu-links.h" #include "djvu-document-private.h" #include "ev-document-links.h" -#include -#include -#include -#include static gboolean number_from_miniexp(miniexp_t sexp, int *number) { diff --git a/backend/djvu/djvu-text-page.c b/backend/djvu/djvu-text-page.c index c19d6f64..a28009dd 100644 --- a/backend/djvu/djvu-text-page.c +++ b/backend/djvu/djvu-text-page.c @@ -17,9 +17,11 @@ * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ +#include +#include +#include #include "djvu-text-page.h" -#include /** * djvu_text_page_selection_process: diff --git a/backend/djvu/djvu-text-page.h b/backend/djvu/djvu-text-page.h index db533265..61325af7 100644 --- a/backend/djvu/djvu-text-page.h +++ b/backend/djvu/djvu-text-page.h @@ -24,7 +24,6 @@ #include #include -#include typedef struct _DjvuTextPage DjvuTextPage; typedef struct _DjvuTextLink DjvuTextLink; diff --git a/backend/djvu/djvu-text.c b/backend/djvu/djvu-text.c index beaac6bb..8b457d86 100644 --- a/backend/djvu/djvu-text.c +++ b/backend/djvu/djvu-text.c @@ -17,6 +17,10 @@ * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ +#include +#include +#include + #include "djvu-document-private.h" #include "djvu-document.h" #include "djvu-text.h" @@ -24,8 +28,7 @@ #include "ev-document-find.h" #include "ev-document.h" -#include -#include + struct _DjvuText { DjvuDocument *document; diff --git a/backend/djvu/djvu-text.h b/backend/djvu/djvu-text.h index 0f99643a..f77d1706 100644 --- a/backend/djvu/djvu-text.h +++ b/backend/djvu/djvu-text.h @@ -22,8 +22,6 @@ #include "ev-document.h" #include -#include -#include typedef struct _DjvuText DjvuText; -- 2.43.5