summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorManolo Gouy <Manolo>2016-03-26 11:38:38 +0000
committerManolo Gouy <Manolo>2016-03-26 11:38:38 +0000
commitff0ec6802363123c684e9ff98fe18b2d5602ccc7 (patch)
tree841c9a25e2cce8bd96f4c1dd2cee89c37ab16749
parent29a9e89b39c2fdc1f9498717f5ae53798528ffb1 (diff)
Add necessary #include directive under Mac OS.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3-porting@11429 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
-rw-r--r--test/menubar.cxx3
1 files changed, 3 insertions, 0 deletions
diff --git a/test/menubar.cxx b/test/menubar.cxx
index 37a49c168..67312bcd6 100644
--- a/test/menubar.cxx
+++ b/test/menubar.cxx
@@ -17,6 +17,9 @@
//
#include <FL/Fl.H>
+#ifdef __APPLE__
+#include <FL/x.H> // for Fl_Mac_App_Menu
+#endif
#include <FL/Fl_Box.H>
#include <FL/Fl_Double_Window.H>
#include <FL/Fl_Sys_Menu_Bar.H>