nano

nano with my custom patches
git clone git://bsandro.tech/nano
Log | Files | Refs | README | LICENSE

commit 58ca5fb0f3482150274b22b0c4f7350f5eb592cb
parent 844214b4a06c68ef87fe3e052af54d0371fe5d3d
Author: Benno Schulenberg <bensberg@telfort.nl>
Date:   Fri, 31 May 2019 17:14:28 +0200

build: move an #include to where it is needed

Diffstat:
Msrc/nano.c | 1+
Msrc/nano.h | 1-
Msrc/text.c | 1+
3 files changed, 2 insertions(+), 1 deletion(-)

diff --git a/src/nano.c b/src/nano.c @@ -33,6 +33,7 @@ #include <langinfo.h> #endif #include <locale.h> +#include <signal.h> #include <string.h> #ifdef HAVE_TERMIOS_H #include <termios.h> diff --git a/src/nano.h b/src/nano.h @@ -119,7 +119,6 @@ #include <sys/stat.h> #include <dirent.h> #include <regex.h> -#include <signal.h> /* If we aren't using an ncurses with mouse support, exclude any * mouse routines, as they are useless then. */ diff --git a/src/text.c b/src/text.c @@ -27,6 +27,7 @@ #include <errno.h> #include <fcntl.h> +#include <signal.h> #include <string.h> #include <unistd.h> #include <sys/wait.h>