chiark / gitweb /
preload-hacks: Some patches to make it work.
[termux-packages] / packages / gdbm / termios_h.patch
1 diff -r -u ../gdbm-1.10.90/src/gdbmtool.c ./src/gdbmtool.c
2 --- ../gdbm-1.10.90/src/gdbmtool.c      2013-05-16 22:22:16.000000000 +0200
3 +++ ./src/gdbmtool.c    2014-02-04 03:38:54.000000000 +0100
4 @@ -24,9 +24,7 @@
5  #include <signal.h>
6  #include <pwd.h>
7  #include <sys/ioctl.h>
8 -#ifdef HAVE_SYS_TERMIOS_H
9 -# include <sys/termios.h>
10 -#endif
11 +#include <termios.h>
12  #include <stdarg.h>
13  #ifdef HAVE_LOCALE_H
14  # include <locale.h>