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