From 5fb6713485110ff864dc270437ffa552a7ab5ad3 Mon Sep 17 00:00:00 2001 From: Albrecht Schlosser Date: Mon, 22 Mar 2021 22:41:36 +0100 Subject: Remove unused #include statements Cairo is not used in this file, math.h is not necessary, and stdio.h is only required if USE_PANGO is false. --- src/drivers/PostScript/Fl_PostScript_image.cxx | 13 +++++-------- 1 file changed, 5 insertions(+), 8 deletions(-) (limited to 'src/drivers/PostScript') diff --git a/src/drivers/PostScript/Fl_PostScript_image.cxx b/src/drivers/PostScript/Fl_PostScript_image.cxx index e6b2d6255..297f1f723 100644 --- a/src/drivers/PostScript/Fl_PostScript_image.cxx +++ b/src/drivers/PostScript/Fl_PostScript_image.cxx @@ -1,7 +1,7 @@ // // Postscript image drawing implementation for the Fast Light Tool Kit (FLTK). // -// Copyright 1998-2020 by Bill Spitzak and others. +// Copyright 1998-2021 by Bill Spitzak and others. // // This library is free software. Distribution and use rights are outlined in // the file "COPYING" which should have been included with this file. If this @@ -17,19 +17,16 @@ #include #if !defined(FL_DOXYGEN) && !defined(FL_NO_PRINT_SUPPORT) -#include -#include -#include -#include // abs(int) - #include #include "Fl_PostScript_Graphics_Driver.H" #include #include #include +#include // abs(int) +#include // memcpy() -#if USE_PANGO -#include +#if ! USE_PANGO +#include // fprintf() #endif struct callback_data { -- cgit v1.2.3