From 203b3289b8f590d25a2abf6df95bcaff741a7c2e Mon Sep 17 00:00:00 2001 From: John Tytgat Date: Sat, 26 Jul 2008 23:42:24 +0000 Subject: - Include utils/config.h before each WITH_* test entiry enabling/disabling the object file. - Add same test in corresponding header file (if there is one) - riscos/uri.c: include riscos/uri.h and have function definitions matching the declarations. - Disable PDF debug logging. svn path=/trunk/netsurf/; revision=4769 --- riscos/save_pdf.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'riscos/save_pdf.c') diff --git a/riscos/save_pdf.c b/riscos/save_pdf.c index a7d0903f4..90420d874 100644 --- a/riscos/save_pdf.c +++ b/riscos/save_pdf.c @@ -20,6 +20,9 @@ * Export a content as a PDF file (implementation). */ +#include "utils/config.h" +#ifdef WITH_PDF_EXPORT + #include #include "oslib/osfile.h" #include "content/content.h" @@ -29,8 +32,6 @@ #include "utils/log.h" #include "utils/config.h" -#ifdef WITH_PDF_EXPORT - /** * Export a content as a PDF file. * -- cgit v1.2.3