aboutsummaryrefslogblamecommitdiffstats
path: root/testing/zchunk/fix-musl.patch
blob: 766745bb5bdb0e43fc5fbafd13a96da455550a7e (plain) (tree)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18

















                                                                   
--- a/include/zck.h.in.orig	2018-08-03 07:08:45.140103751 +0200
+++ b/include/zck.h.in	2018-08-03 07:09:18.613105487 +0200
@@ -1,3 +1,4 @@
+#include <sys/types.h>
 #ifndef ZCK_H
 #define ZCK_H

--- a/src/unzck.c	2018-08-02 15:42:19.000000000 +0200
+++ b/src/unzck.c	2018-08-04 20:20:53.438164577 +0200
@@ -39,7 +39,7 @@
 #include <zck.h>
 
 #include "util_common.h"
-
+#undef stdout
 static char doc[] = "unzck - Decompress a zchunk file";
 
 static char args_doc[] = "<file>";