xref: /OK3568_Linux_fs/buildroot/package/sredird/0001-termio.patch (revision 4882a59341e53eb6f0b4789bf948001014eff981)
1Fix musl build
2
3Patch was inspired by
4http://svnweb.freebsd.org/ports/head/comms/sredird/files/patch-sredird.c?revision=363168&view=markup
5http://ftp.netbsd.org/pub/pkgsrc/current/pkgsrc/sysutils/sredird/patches/patch-aa
6https://github.com/bitrig/bitrig-ports/blob/master/comms/sredird/patches/patch-sredird_c
7
8Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
9
10diff -uNr sredird-2.2.2.org/sredird.c sredird-2.2.2/sredird.c
11--- sredird-2.2.2.org/sredird.c	2005-08-12 16:10:46.000000000 +0200
12+++ sredird-2.2.2/sredird.c	2016-01-31 18:53:08.000000000 +0100
13@@ -110,7 +110,6 @@
14 #include <fcntl.h>
15 #include <syslog.h>
16 #include <termios.h>
17-#include <termio.h>
18 #include <sys/socket.h>
19 #include <netinet/in.h>
20 #include <netinet/ip.h>
21