summaryrefslogtreecommitdiffstats
path: root/audio/raop_play/files/patch-raop__play_aexcl__lib.h
blob: f6c8c898b722a0383ae291624ab45b249a8ce1b9 (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
--- raop_play/aexcl_lib.h.orig	2005-12-16 14:17:01 UTC
+++ raop_play/aexcl_lib.h
@@ -1,5 +1,5 @@
 #include <stdio.h>
-#include <asm/types.h>
+#include <sys/types.h>
 #include <sys/time.h>
 #include <time.h>
 #include <stdlib.h>
@@ -35,6 +35,9 @@
 #define END_C_DECLS
 #endif
 
+#define __u8 u_int8_t
+#define __u16 u_int16_t
+#define __u32 u_int32_t
 
 BEGIN_C_DECLS
 
@@ -75,7 +78,6 @@ static inline int realloc_memory(void **
 		}
 		n=n<<1;
 	}
-	newsize=newsize;
 	np=realloc(*p,newsize);
 	if(!np){
 		ERRMSG("%s: realloc failed: %s\n",func,strerror(errno));
OpenPOWER on IntegriCloud