]> source.dussan.org Git - tigervnc.git/commitdiff
Add missing FLTK include statements 1489/head
authorAlbrecht Schlosser <albrechts.fltk@online.de>
Mon, 4 Jul 2022 11:27:24 +0000 (13:27 +0200)
committerAlbrecht Schlosser <albrechts.fltk@online.de>
Thu, 7 Jul 2022 11:38:16 +0000 (13:38 +0200)
Add also missing <stdlib.h> where required.

tests/perf/fbperf.cxx
vncviewer/MonitorArrangement.cxx
vncviewer/MonitorArrangement.h
vncviewer/PlatformPixelBuffer.cxx
vncviewer/Surface_X11.cxx
vncviewer/Viewport.cxx

index 2b21bdd871cc5b6d6d87d1bd792267cd12b0aaff..01781725837513a6a26fed68e4d0aaff95717818 100644 (file)
@@ -26,6 +26,7 @@
 #include <FL/Fl.H>
 #include <FL/Fl_Window.H>
 #include <FL/fl_draw.H>
+#include <FL/x.H>
 
 #include <rdr/Exception.h>
 #include <rfb/util.h>
index e49120ffbe21e7fc9f3a726f5b3170cdb680c77a..7910ab8819101ebfb5fd36d713539360521dc0f9 100644 (file)
@@ -37,6 +37,7 @@
 #include <FL/Fl.H>
 #include <FL/fl_draw.H>
 #include <FL/Fl_Button.H>
+#include <FL/x.H>
 
 #if defined(HAVE_XRANDR) && !defined(__APPLE__)
 #include <X11/extensions/Xrandr.h>
index ed1f7cad9ff27e38508299ab26827e8dd4e28774..d6db267706ee8b358257ad08bbe08aecc719a5d6 100644 (file)
@@ -29,7 +29,8 @@
 #include <map>
 #include <set>
 
-class Fl_Group;
+#include <FL/Fl_Group.H>
+
 class Fl_Button;
 
 class MonitorArrangement: public Fl_Group {
index e236c66310fa4c5a7f58a3e7934c5c46ebd57a42..e551651d241a9531f0a431f408f3492767531a85 100644 (file)
@@ -21,6 +21,7 @@
 #endif
 
 #include <assert.h>
+#include <stdlib.h>
 
 #if !defined(WIN32) && !defined(__APPLE__)
 #include <sys/ipc.h>
index 6c742061d9dad356b145b1eca8101be622daeb0e..7725cb5b8e683a8c95531132cd27e997fdc245bf 100644 (file)
@@ -21,6 +21,7 @@
 #endif
 
 #include <assert.h>
+#include <stdlib.h>
 
 #include <FL/Fl_RGB_Image.H>
 #include <FL/x.H>
index 34a943241921215d28913ce73923f5a93362bda8..81ad98272695bb015427357c5cc93cb0be591148 100644 (file)
@@ -73,6 +73,7 @@
 
 #include <FL/Fl_Menu.H>
 #include <FL/Fl_Menu_Button.H>
+#include <FL/x.H>
 
 #if !defined(WIN32) && !defined(__APPLE__)
 #include <X11/XKBlib.h>