diff options
Diffstat (limited to 'src/Fl_Native_File_Chooser_FLTK.cxx')
| -rw-r--r-- | src/Fl_Native_File_Chooser_FLTK.cxx | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/Fl_Native_File_Chooser_FLTK.cxx b/src/Fl_Native_File_Chooser_FLTK.cxx index 3fb62ad10..769dfac1c 100644 --- a/src/Fl_Native_File_Chooser_FLTK.cxx +++ b/src/Fl_Native_File_Chooser_FLTK.cxx @@ -16,6 +16,7 @@ // http://www.fltk.org/str.php // +#include <config.h> #include <FL/Fl_Native_File_Chooser.H> #include <FL/Fl_File_Icon.H> #define FLTK_CHOOSER_SINGLE Fl_File_Chooser::SINGLE @@ -50,9 +51,11 @@ Fl_Native_File_Chooser::Fl_Native_File_Chooser(int val) { #endif // FLTK_ABI_VERSION if (have_looked_for_GTK_libs == 0) { // First Time here, try to find the GTK libs if they are installed +#if HAVE_DLSYM && HAVE_DLFCN_H if (Fl::option(Fl::OPTION_FNFC_USES_GTK)) { Fl_GTK_File_Chooser::probe_for_GTK_libs(); } +#endif have_looked_for_GTK_libs = -1; } // if we found all the GTK functions we need, we will use the GtkFileChooserDialog |
