]> git.saurik.com Git - wxWidgets.git/commitdiff
don't include GNOME FS header if we don't use it (and might not have it at all)
authorVadim Zeitlin <vadim@wxwidgets.org>
Tue, 18 Apr 2006 21:06:25 +0000 (21:06 +0000)
committerVadim Zeitlin <vadim@wxwidgets.org>
Tue, 18 Apr 2006 21:06:25 +0000 (21:06 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38800 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

src/unix/mimetype.cpp

index c39e2545456ed9d53989e86b7f3759c6d58f6e16..8a91d72f8263b6af722c23d1f34eafc45e1365fc 100644 (file)
 
 #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 <ctype.h>