build: move an #include to where it is needed

master
Benno Schulenberg 2019-05-31 17:14:28 +02:00
parent 844214b4a0
commit 58ca5fb0f3
3 changed files with 2 additions and 1 deletions

View File

@ -33,6 +33,7 @@
#include <langinfo.h> #include <langinfo.h>
#endif #endif
#include <locale.h> #include <locale.h>
#include <signal.h>
#include <string.h> #include <string.h>
#ifdef HAVE_TERMIOS_H #ifdef HAVE_TERMIOS_H
#include <termios.h> #include <termios.h>

View File

@ -119,7 +119,6 @@
#include <sys/stat.h> #include <sys/stat.h>
#include <dirent.h> #include <dirent.h>
#include <regex.h> #include <regex.h>
#include <signal.h>
/* If we aren't using an ncurses with mouse support, exclude any /* If we aren't using an ncurses with mouse support, exclude any
* mouse routines, as they are useless then. */ * mouse routines, as they are useless then. */

View File

@ -27,6 +27,7 @@
#include <errno.h> #include <errno.h>
#include <fcntl.h> #include <fcntl.h>
#include <signal.h>
#include <string.h> #include <string.h>
#include <unistd.h> #include <unistd.h>
#include <sys/wait.h> #include <sys/wait.h>