]> rtime.felk.cvut.cz Git - coffee/buildroot.git/blob - package/udftools/0001-pktsetup-pktsetup.c-do-not-include-bits-types.h.patch
udftools: add patch to fix build on musl
[coffee/buildroot.git] / package / udftools / 0001-pktsetup-pktsetup.c-do-not-include-bits-types.h.patch
1 From 8da4dde42cc25294819ad078432d85437e4a12ee Mon Sep 17 00:00:00 2001
2 From: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
3 Date: Sun, 22 Apr 2018 15:05:46 +0200
4 Subject: [PATCH] pktsetup/pktsetup.c: do not include <bits/types.h>
5
6 This header is not a standard header, and is for example not provided
7 by the musl C library.
8
9 This change has been tested by building udftools against glibc, uClibc
10 and musl.
11
12 Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
13 Upstream-status: https://github.com/pali/udftools/pull/16
14 ---
15  pktsetup/pktsetup.c | 1 -
16  1 file changed, 1 deletion(-)
17
18 diff --git a/pktsetup/pktsetup.c b/pktsetup/pktsetup.c
19 index 8b3df51..81ed142 100644
20 --- a/pktsetup/pktsetup.c
21 +++ b/pktsetup/pktsetup.c
22 @@ -27,7 +27,6 @@
23  #include <sys/stat.h>
24  #include <unistd.h>
25  #include <getopt.h>
26 -#include <bits/types.h>
27  #include <sys/types.h>
28  #include <string.h>
29  #include <limits.h>
30 -- 
31 2.14.3
32