summaryrefslogtreecommitdiff
path: root/audio/daapd/patches/patch-ad
blob: aa83999d6d0feaabf034a4ea80c919fdba317692 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
$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