gnome-control-center/gnome-control-center-printers-fix-compilation-warning.patch

27 lines
702 B
Diff

From 77750c507615788d46ec66a25368fe4aa4a83966 Mon Sep 17 00:00:00 2001
From: Marek Kasik <mkasik@redhat.com>
Date: Tue, 20 Sep 2016 12:29:09 +0200
Subject: printers: Fix compilation warning
We need to include cups/ppd.h explicitly due to some modification
of structure of CUPS headers
---
panels/printers/cc-printers-panel.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/panels/printers/cc-printers-panel.c b/panels/printers/cc-printers-panel.c
index 4c88223..fb55608 100644
--- a/panels/printers/cc-printers-panel.c
+++ b/panels/printers/cc-printers-panel.c
@@ -29,6 +29,7 @@
#include <gdesktop-enums.h>
#include <cups/cups.h>
+#include <cups/ppd.h>
#include <math.h>
--
cgit v0.12