diff --git a/src/unix/mimetype.cpp b/src/unix/mimetype.cpp index c39e254545..8a91d72f82 100644 --- a/src/unix/mimetype.cpp +++ b/src/unix/mimetype.cpp @@ -58,8 +58,10 @@ #include "wx/unix/mimetype.h" -// Not GUI dependent -#include "wx/gtk/gnome/gvfs.h" +#if wxUSE_LIBGNOMEVFS + // Not GUI dependent + #include "wx/gtk/gnome/gvfs.h" +#endif // other standard headers #include