[master] a620ef5 - Fix Linux build with --enable-pango

GitHub FLTK Project   FLTK News RSS Feed  
  FLTK Apps      FLTK Library      Forums      Links     Login 
 All Forums  |  Back to fltk.commit  ]
Previous Message ]Next Message ]

[master] a620ef5 - Fix Linux build with --enable-pango "Albrecht Schlosser" 07:17 Mar 15 top right image
commit a620ef5b37d7f32000dfb169c9d8cce6d97ac583
Author:     Albrecht Schlosser <albrechts.fltk@online.de>
AuthorDate: Mon Mar 15 15:06:23 2021 +0100
Commit:     Albrecht Schlosser <albrechts.fltk@online.de>
CommitDate: Mon Mar 15 15:06:23 2021 +0100

    Fix Linux build with --enable-pango

 src/drivers/Cairo/Fl_Cairo_Graphics_Driver.cxx | 1 +
 1 file changed, 1 insertion(+)

diff --git src/drivers/Cairo/Fl_Cairo_Graphics_Driver.cxx src/drivers/Cairo/Fl_Cairo_Graphics_Driver.cxx
index ff64bfe..b9d573a 100644
--- src/drivers/Cairo/Fl_Cairo_Graphics_Driver.cxx
+++ src/drivers/Cairo/Fl_Cairo_Graphics_Driver.cxx
@@ -25,6 +25,7 @@
 #include <FL/fl_draw.H>
 #include <cairo/cairo.h>
 #include <pango/pangocairo.h>
+#include <math.h>
 // duplicated from Fl_PostScript.cxx
 struct callback_data {
Direct Link to Message ]
bottom left image   bottom right image
Previous Message ]Next Message ]

Comments are owned by the poster. All other content is copyright 1998-2021 by Bill Spitzak and others. This project is hosted by The FLTK Team. Please report site problems to 'erco@seriss.com'.