X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/2a6b16e36bd514672d3e978673b82ec2d461cdb5..625cb8c0b1ac12f26265cae2c69d7f510de0edb1:/src/os2/mimetype.cpp

diff --git a/src/os2/mimetype.cpp b/src/os2/mimetype.cpp
index 623d4f0644..cd51d499dc 100644
--- a/src/os2/mimetype.cpp
+++ b/src/os2/mimetype.cpp
@@ -27,6 +27,8 @@
 #include "wx/dynarray.h"
 #include "wx/confbase.h"
 
+#if wxUSE_FILE
+
 #include "wx/os2/mimetype.h"
 
 // other standard headers
@@ -450,3 +452,4 @@ size_t wxMimeTypesManagerImpl::EnumAllFileTypes(wxArrayString& mimetypes)
   return 0;
 }
 
+#endif //wxUSE_FILE