r23826 by jghali - Fix build error on Linux

scribus-commit scribus-commit at lists.scribus.net
Fri May 22 15:10:22 UTC 2020


Author: jghali
Date: Fri May 22 15:10:21 2020
New Revision: 23826

URL: http://scribus.net/websvn/listing.php?repname=Scribus&sc=1&rev=23826
Log:
Fix build error on Linux

Modified:
    trunk/Scribus/scribus/pdflib.cpp
    trunk/Scribus/scribus/pdflib.h

Modified: trunk/Scribus/scribus/pdflib.cpp
URL: http://scribus.net/websvn/diff.php?repname=Scribus&rev=23826&path=/trunk/Scribus/scribus/pdflib.cpp
==============================================================================
--- trunk/Scribus/scribus/pdflib.cpp	(original)
+++ trunk/Scribus/scribus/pdflib.cpp	Fri May 22 15:10:21 2020
@@ -1,6 +1,13 @@
+/*
+For general Scribus (>=1.3.2) copyright and licensing information please refer
+to the COPYING file provided with the program. Following this notice may exist
+a copyright and/or license notice that predates the release of Scribus 1.3.2
+for which a new license (GPL+exception) is in place.
+*/
+
 #include "pdflib.h"
-
 #include "pdflib_core.h"
+#include "pdfoptions.h"
 
 PDFlib::PDFlib(ScribusDoc & docu)
     : m_impl( new PDFLibCore(docu) )

Modified: trunk/Scribus/scribus/pdflib.h
URL: http://scribus.net/websvn/diff.php?repname=Scribus&rev=23826&path=/trunk/Scribus/scribus/pdflib.h
==============================================================================
--- trunk/Scribus/scribus/pdflib.h	(original)
+++ trunk/Scribus/scribus/pdflib.h	Fri May 22 15:10:21 2020
@@ -8,14 +8,15 @@
 #ifndef PDFLIB_H
 #define PDFLIB_H
 
+#include <QObject>
+#include <QImage>
+#include <QMap>
+#include <vector>
+
 #include "scconfig.h"
 #include "scribusapi.h"
 
-#include <QImage>
-#include <QObject>
-#include <QMap>
-#include <vector>
-
+class PDFOptions;
 class ScribusDoc;
 
 /**




More information about the scribus-commit mailing list