diff --git a/utils/fgadmin/src/fgadmin_funcs.cxx b/utils/fgadmin/src/fgadmin_funcs.cxx index 90f1c9012..642963597 100644 --- a/utils/fgadmin/src/fgadmin_funcs.cxx +++ b/utils/fgadmin/src/fgadmin_funcs.cxx @@ -24,6 +24,7 @@ #include #include #include +#include #ifdef _WIN32 # include @@ -255,7 +256,7 @@ void FGAdminUI::install_selected() { f = install_box->text( i ); SGPath file( source ); file.append( f ); - struct stat info; + struct ::stat info; #if (FL_MAJOR_VERSION > 1 || ( FL_MAJOR_VERSION == 1 && FL_MINOR_VERSION >= 3 )) fl_stat( file.str().c_str(), &info ); #else