termux-packages/packages/gdbm/termios_h.patch
Fredrik Fornwall 59f0d218a6 Initial push
2015-06-13 01:03:31 +02:00

15 lines
417 B
Diff

diff -r -u ../gdbm-1.10.90/src/gdbmtool.c ./src/gdbmtool.c
--- ../gdbm-1.10.90/src/gdbmtool.c 2013-05-16 22:22:16.000000000 +0200
+++ ./src/gdbmtool.c 2014-02-04 03:38:54.000000000 +0100
@@ -24,9 +24,7 @@
#include <signal.h>
#include <pwd.h>
#include <sys/ioctl.h>
-#ifdef HAVE_SYS_TERMIOS_H
-# include <sys/termios.h>
-#endif
+#include <termios.h>
#include <stdarg.h>
#ifdef HAVE_LOCALE_H
# include <locale.h>