From 320fade35058202cd094a32612457ba76b524451 Mon Sep 17 00:00:00 2001 From: Stefan Hoffmann Date: Mon, 21 Apr 2014 18:35:17 +0200 Subject: inline the rest of os_unixx.h into os_unix.c --- src/os_unix.c | 17 ++++++++++++++++- src/os_unixx.h | 28 ---------------------------- 2 files changed, 16 insertions(+), 29 deletions(-) delete mode 100644 src/os_unixx.h (limited to 'src') diff --git a/src/os_unix.c b/src/os_unix.c index 4a32d77d8c..03ea2a7c0d 100644 --- a/src/os_unix.c +++ b/src/os_unix.c @@ -57,7 +57,22 @@ #include "os/signal.h" #include "os/job.h" -#include "os_unixx.h" /* unix includes for os_unix.c only */ +#if defined(HAVE_SYS_IOCTL_H) +# include +#endif + +#ifdef HAVE_STROPTS_H +# include +#endif + +#if defined(HAVE_TERMIOS_H) +# include +#endif + +/* shared library access */ +#if defined(HAVE_DLFCN_H) && defined(USE_DLOPEN) +# include +#endif #ifdef HAVE_SELINUX # include diff --git a/src/os_unixx.h b/src/os_unixx.h deleted file mode 100644 index 7ca0107c50..0000000000 --- a/src/os_unixx.h +++ /dev/null @@ -1,28 +0,0 @@ -/* - * VIM - Vi IMproved by Bram Moolenaar - * - * Do ":help uganda" in Vim to read copying and usage conditions. - * Do ":help credits" in Vim to see a list of people who contributed. - */ - -/* - * os_unixx.h -- include files that are only used in os_unix.c - */ - -#if defined(HAVE_SYS_IOCTL_H) -# include -#endif - -#ifdef HAVE_STROPTS_H -# include -#endif - -#if defined(HAVE_TERMIOS_H) -# include -#endif - -/* shared library access */ -#if defined(HAVE_DLFCN_H) && defined(USE_DLOPEN) -# include -#endif - -- cgit