From a24217f0500b95e77eee83fb42887ce8e5083157 Mon Sep 17 00:00:00 2001 From: Vadim Zeitlin Date: Tue, 18 Apr 2006 21:06:25 +0000 Subject: [PATCH] don't include GNOME FS header if we don't use it (and might not have it at all) git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38800 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- src/unix/mimetype.cpp | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) 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 -- 2.45.2