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