From 07d4e29042409a0c2d4912d25af8fab71fa71f33 Mon Sep 17 00:00:00 2001 From: Albrecht Schlosser Date: Mon, 4 Jul 2022 13:27:24 +0200 Subject: [PATCH] Add missing FLTK include statements Add also missing where required. --- tests/perf/fbperf.cxx | 1 + vncviewer/MonitorArrangement.cxx | 1 + vncviewer/MonitorArrangement.h | 3 ++- vncviewer/PlatformPixelBuffer.cxx | 1 + vncviewer/Surface_X11.cxx | 1 + vncviewer/Viewport.cxx | 1 + 6 files changed, 7 insertions(+), 1 deletion(-) diff --git a/tests/perf/fbperf.cxx b/tests/perf/fbperf.cxx index 2b21bdd8..01781725 100644 --- a/tests/perf/fbperf.cxx +++ b/tests/perf/fbperf.cxx @@ -26,6 +26,7 @@ #include #include #include +#include #include #include diff --git a/vncviewer/MonitorArrangement.cxx b/vncviewer/MonitorArrangement.cxx index e49120ff..7910ab88 100644 --- a/vncviewer/MonitorArrangement.cxx +++ b/vncviewer/MonitorArrangement.cxx @@ -37,6 +37,7 @@ #include #include #include +#include #if defined(HAVE_XRANDR) && !defined(__APPLE__) #include diff --git a/vncviewer/MonitorArrangement.h b/vncviewer/MonitorArrangement.h index ed1f7cad..d6db2677 100644 --- a/vncviewer/MonitorArrangement.h +++ b/vncviewer/MonitorArrangement.h @@ -29,7 +29,8 @@ #include #include -class Fl_Group; +#include + class Fl_Button; class MonitorArrangement: public Fl_Group { diff --git a/vncviewer/PlatformPixelBuffer.cxx b/vncviewer/PlatformPixelBuffer.cxx index e236c663..e551651d 100644 --- a/vncviewer/PlatformPixelBuffer.cxx +++ b/vncviewer/PlatformPixelBuffer.cxx @@ -21,6 +21,7 @@ #endif #include +#include #if !defined(WIN32) && !defined(__APPLE__) #include diff --git a/vncviewer/Surface_X11.cxx b/vncviewer/Surface_X11.cxx index 6c742061..7725cb5b 100644 --- a/vncviewer/Surface_X11.cxx +++ b/vncviewer/Surface_X11.cxx @@ -21,6 +21,7 @@ #endif #include +#include #include #include diff --git a/vncviewer/Viewport.cxx b/vncviewer/Viewport.cxx index 34a94324..81ad9827 100644 --- a/vncviewer/Viewport.cxx +++ b/vncviewer/Viewport.cxx @@ -73,6 +73,7 @@ #include #include +#include #if !defined(WIN32) && !defined(__APPLE__) #include -- 2.39.5