@@ -37,11 +37,13 @@ /** * \brief A protocol that needs to be implemented by delegates for * OFStreamObserver. */ @protocol OFStreamObserverDelegate - +#ifdef OF_HAVE_OPTIONAL_PROTOCOLS +@optional +#endif /** * This callback is called when a stream did get ready for reading. * * \param stream The stream which did become ready for reading */