python-dataproperty: bump version to 0.17.0
[buildroot-gz.git] / package / minicom / 0001-musl-libc-compile-fix.patch
blob94c0da06a5eb73f59fb35508d731230b5051d291
1 # HG changeset patch
2 # User Adam Lackorzynski <adam@os.inf.tu-dresden.de>
3 # Date 1432407431 -7200
4 # Sat May 23 20:57:11 2015 +0200
5 # Node ID 8bf81e6a8e60e37c2dec9577a1be6357b8d56165
6 # Parent 8c784c80c17aa7a346d982db23bca5df67302cda
7 musl-libc compile fix
9 By Felix Janda <felix.janda@posteo.de>:
10 VC_MUSIC is enabled by default on linux and in dial.c the
11 necessary header are only included for glibc. (The wrong conditional
12 include has likely been introduced by the 2003-03-30 GNU/Hurd patch.)
14 Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
15 [Taken from upstream Mercurial commit 8bf81e6a8e60]
17 diff -r 8c784c80c17a -r 8bf81e6a8e60 src/dial.c
18 --- a/src/dial.c Sat May 23 20:56:29 2015 +0200
19 +++ b/src/dial.c Sat May 23 20:57:11 2015 +0200
20 @@ -39,7 +39,7 @@
21 #include "intl.h"
23 #ifdef VC_MUSIC
24 -# if defined(__GLIBC__)
25 +# if defined(__linux__) || defined(__GLIBC__)
26 # include <sys/ioctl.h>
27 # include <sys/kd.h>
28 # include <sys/time.h>