Fix build with cups 1.5 snapshots
authorBernhard Rosenkraenzer <br@blankpage.ch>
Thu, 7 Oct 2010 08:33:05 +0000 (10:33 +0200)
committerOlivier Goffart <olivier.goffart@nokia.com>
Thu, 7 Oct 2010 08:44:16 +0000 (10:44 +0200)
commit6967f9e3fadfff8122809207dc7a99af444f699b
treea9b083d01f41464f3fd8230f27d8b5d8c51dd55a
parentc2d539bbb25220105ee79de6d0d59e686508d765
Fix build with cups 1.5 snapshots

Without this patch, Qt CUPS support fails to build with current
CUPS snapshots:

In file included from ../../include/QtGui/private/qcups_p.h:1:0,
                 from painting/qpdf.cpp:47:
.../qcups_p.h:78:11: error: 'ppd_file_t' does not name a type
.../qcups_p.h:80:11: error: 'ppd_file_t' does not name a type
.../qcups_p.h:81:11: error: 'ppd_option_t' does not name a type
.../qcups_p.h:84:11: error: 'ppd_option_t' does not name a type
.../qcups_p.h:87:34: error: ISO C++ forbids declaration of 'type
                            name' with no type
.../qcups_p.h:87:47: error: template argument 1 is invalid
.../qcups_p.h:103:56: error: 'ppd_group_t' does not name a type
.../qcups_p.h:103:77: error: ISO C++ forbids declaration of 'group'
                      with no type
.../qcups_p.h:104:62: error: 'ppd_group_t' does not name a type
.../qcups_p.h:104:75: error: ISO C++ forbids declaration of 'group'
                      with no type
.../qcups_p.h:108:11: error: 'ppd_option_t' does not name a type
.../qcups_p.h:110:5: error: 'ppd_file_t' does not name a type

Merge-request: 835
Reviewed-by: Olivier Goffart <olivier.goffart@nokia.com>
src/gui/painting/qcups_p.h