diff options
| author | Albrecht Schlosser <albrechts.fltk@online.de> | 2021-03-22 22:41:36 +0100 |
|---|---|---|
| committer | Albrecht Schlosser <albrechts.fltk@online.de> | 2021-03-22 22:57:24 +0100 |
| commit | 5fb6713485110ff864dc270437ffa552a7ab5ad3 (patch) | |
| tree | a768b28a832560d057eb8efd03b371770385c055 /src/drivers/PostScript/Fl_PostScript_image.cxx | |
| parent | d6d1d8afe45a2f315f7fd91f2bcc2d9514d7244d (diff) | |
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.
Diffstat (limited to 'src/drivers/PostScript/Fl_PostScript_image.cxx')
| -rw-r--r-- | src/drivers/PostScript/Fl_PostScript_image.cxx | 13 |
1 files changed, 5 insertions, 8 deletions
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 <config.h> #if !defined(FL_DOXYGEN) && !defined(FL_NO_PRINT_SUPPORT) -#include <stdio.h> -#include <math.h> -#include <string.h> -#include <stdlib.h> // abs(int) - #include <FL/Fl_PostScript.H> #include "Fl_PostScript_Graphics_Driver.H" #include <FL/Fl.H> #include <FL/Fl_Pixmap.H> #include <FL/Fl_Bitmap.H> +#include <stdlib.h> // abs(int) +#include <string.h> // memcpy() -#if USE_PANGO -#include <cairo/cairo.h> +#if ! USE_PANGO +#include <stdio.h> // fprintf() #endif struct callback_data { |
