aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStefan Hoffmann <stefan991@gmail.com>2014-04-21 18:35:17 +0200
committerThiago de Arruda <tpadilha84@gmail.com>2014-04-22 13:28:23 -0300
commit320fade35058202cd094a32612457ba76b524451 (patch)
tree49720d344749f4eb4dea9c03c4ba4b79b869f8be
parent5f63287f5155dc8af124fdbe9c84460fd9214eac (diff)
downloadrneovim-320fade35058202cd094a32612457ba76b524451.tar.gz
rneovim-320fade35058202cd094a32612457ba76b524451.tar.bz2
rneovim-320fade35058202cd094a32612457ba76b524451.zip
inline the rest of os_unixx.h into os_unix.c
-rw-r--r--src/os_unix.c17
-rw-r--r--src/os_unixx.h28
2 files changed, 16 insertions, 29 deletions
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 <sys/ioctl.h>
+#endif
+
+#ifdef HAVE_STROPTS_H
+# include <stropts.h>
+#endif
+
+#if defined(HAVE_TERMIOS_H)
+# include <termios.h>
+#endif
+
+/* shared library access */
+#if defined(HAVE_DLFCN_H) && defined(USE_DLOPEN)
+# include <dlfcn.h>
+#endif
#ifdef HAVE_SELINUX
# include <selinux/selinux.h>
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 <sys/ioctl.h>
-#endif
-
-#ifdef HAVE_STROPTS_H
-# include <stropts.h>
-#endif
-
-#if defined(HAVE_TERMIOS_H)
-# include <termios.h>
-#endif
-
-/* shared library access */
-#if defined(HAVE_DLFCN_H) && defined(USE_DLOPEN)
-# include <dlfcn.h>
-#endif
-