Ricardo Martincoski | 2a809e7 | 2016-10-07 17:30:28 -0300 | [diff] [blame] | 1 | remove unused include of termio.h |
| 2 | |
| 3 | This header is not provided by musl, leading to build failures. |
| 4 | |
| 5 | Patch status: accepted upstream. |
| 6 | |
| 7 | Signed-off-by: Ricardo Martincoski <ricardo.martincoski@datacom.ind.br> |
| 8 | --- |
| 9 | diff -purN atop-2.2-3.orig/showgeneric.c atop-2.2-3/showgeneric.c |
| 10 | --- atop-2.2-3.orig/showgeneric.c 2016-07-19 22:07:43.275324499 -0300 |
| 11 | +++ atop-2.2-3/showgeneric.c 2016-07-19 22:08:16.171453283 -0300 |
| 12 | @@ -268,7 +268,6 @@ static const char rcsid[] = "$Id: showge |
| 13 | #include <errno.h> |
| 14 | #include <fcntl.h> |
| 15 | #include <string.h> |
| 16 | -#include <termio.h> |
| 17 | #include <unistd.h> |
| 18 | #include <stdarg.h> |
| 19 | #include <curses.h> |
| 20 | diff -purN atop-2.2-3.orig/showlinux.c atop-2.2-3/showlinux.c |
| 21 | --- atop-2.2-3.orig/showlinux.c 2016-07-19 22:07:43.275324499 -0300 |
| 22 | +++ atop-2.2-3/showlinux.c 2016-07-19 22:08:20.979472459 -0300 |
| 23 | @@ -274,7 +274,6 @@ static const char rcsid[] = "$Id: showli |
| 24 | #include <string.h> |
| 25 | #include <errno.h> |
| 26 | #include <fcntl.h> |
| 27 | -#include <termio.h> |
| 28 | #include <unistd.h> |
| 29 | #include <stdarg.h> |
| 30 | #include <curses.h> |
| 31 | diff -purN atop-2.2-3.orig/showprocs.c atop-2.2-3/showprocs.c |
| 32 | --- atop-2.2-3.orig/showprocs.c 2016-07-19 22:07:43.275324499 -0300 |
| 33 | +++ atop-2.2-3/showprocs.c 2016-07-19 22:08:25.083488900 -0300 |
| 34 | @@ -94,7 +94,6 @@ static const char rcsid[] = "$Id: showpr |
| 35 | #include <string.h> |
| 36 | #include <errno.h> |
| 37 | #include <fcntl.h> |
| 38 | -#include <termio.h> |
| 39 | #include <unistd.h> |
| 40 | #include <stdarg.h> |
| 41 | #include <curses.h> |
| 42 | diff -purN atop-2.2-3.orig/showsys.c atop-2.2-3/showsys.c |
| 43 | --- atop-2.2-3.orig/showsys.c 2016-07-19 22:07:43.275324499 -0300 |
| 44 | +++ atop-2.2-3/showsys.c 2016-07-19 22:08:29.099505047 -0300 |
| 45 | @@ -80,7 +80,6 @@ static const char rcsid[] = "XXXXXX"; |
| 46 | #include <string.h> |
| 47 | #include <errno.h> |
| 48 | #include <fcntl.h> |
| 49 | -#include <termio.h> |
| 50 | #include <unistd.h> |
| 51 | #include <stdarg.h> |
| 52 | #include <curses.h> |