32 lines
735 B
Text
32 lines
735 B
Text
$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 <daap/basic.h>
|
|
#include <string>
|
|
+ #include <string.h>
|
|
#include <vector>
|
|
#include <assert.h>
|
|
|
|
@@ -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<u8> DataInt8;
|
|
@@ -125,4 +124,8 @@
|
|
TagOutput( const TagOutput& );
|
|
TagOutput& operator = ( const TagOutput& );
|
|
};
|
|
+
|
|
+ inline TagOutput& end( TagOutput& x ) {
|
|
+ return( x.closeTag());
|
|
+ }
|
|
#endif
|