diff --git a/src/common/sckfile.cpp b/src/common/sckfile.cpp index e48f33693f..11134b8373 100644 --- a/src/common/sckfile.cpp +++ b/src/common/sckfile.cpp @@ -23,7 +23,7 @@ #include "wx/defs.h" #endif -#if wxUSE_STREAMS +#if wxUSE_STREAMS && wxUSE_PROTOCOL_FILE #include #include "wx/wfstream.h" @@ -46,5 +46,5 @@ wxInputStream *wxFileProto::GetInputStream(const wxString& path) return new wxFileInputStream(path); } -#endif +#endif // wxUSE_STREAMS && wxUSE_PROTOCOL_FILE