Fix FTBFS with gcc 15. This resolves issue #44

Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
(cherry picked from commit 0bf733ec17)
r14.1.x
Michele Calgaro 1 year ago
parent a53aeabfea
commit 6c470287a5
Signed by: MicheleC
GPG Key ID: 2A75B7CA8ADED5CF

@ -25,6 +25,9 @@
# include <pwd.h>
# include <unistd.h>
# include <sys/types.h>
#else
/* Make sure isatty() has a prototype */
extern int isatty(int);
#endif
#if defined(HAVE_READLINE) && HAVE_READLINE==1
@ -38,10 +41,6 @@
# define stifle_history(X)
#endif
/* Make sure isatty() has a prototype.
*/
extern int isatty();
/*
** The following is the open SQLite database. We make a pointer
** to this database a static variable so that it can be accessed

Loading…
Cancel
Save