shithub: libtags

Download patch

ref: 94672541fd9dc77636fb5fdb04b6ea87eedb6b8d
parent: 75b18540c02b947cf11c3d93b730f6ab061f7a34
author: Sigrid Solveig Haflínudóttir <[email protected]>
date: Thu Mar 3 16:31:55 EST 2022

fix unix build

--- a/tagspriv.h
+++ b/tagspriv.h
@@ -15,6 +15,8 @@
 typedef uint16_t u16int;
 typedef uint32_t u32int;
 typedef uint64_t uvlong;
+typedef unsigned int uint;
+typedef unsigned short ushort;
 #else
 #include <u.h>
 #include <libc.h>
--- a/wav.c
+++ b/wav.c
@@ -18,9 +18,7 @@
 tagwav(Tagctx *ctx)
 {
 	uchar *d;
-	int i, n, info;
-	u32int csz;
-	uvlong sz;
+	int i, n, info, csz, sz;
 
 	d = (uchar*)ctx->buf;