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>
#endif
#include <locale.h>
#include <signal.h>
#include <string.h>
#ifdef HAVE_TERMIOS_H
#include <termios.h>

View File

@ -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. */

View File

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