$NetBSD: patch-ad,v 1.3 2011/11/26 17:09:32 joerg Exp $ --- daaplib/include/daap/tagoutput.h.orig 2011-11-26 15:54:46.000000000 +0000 +++ daaplib/include/daap/tagoutput.h @@ -25,6 +25,7 @@ #include #include + #include #include #include @@ -98,9 +99,7 @@ return( func( *this )); } - friend inline TagOutput& end( TagOutput& x ) { - return( x.closeTag()); - } + friend inline TagOutput& end( TagOutput& x ); protected: typedef std::vector DataInt8; @@ -125,4 +124,8 @@ TagOutput( const TagOutput& ); TagOutput& operator = ( const TagOutput& ); }; + + inline TagOutput& end( TagOutput& x ) { + return( x.closeTag()); + } #endif