aboutsummaryrefslogtreecommitdiff
path: root/src/os_unix.c
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 /src/os_unix.c
parent5f63287f5155dc8af124fdbe9c84460fd9214eac (diff)
downloadrneovim-320fade35058202cd094a32612457ba76b524451.tar.gz
rneovim-320fade35058202cd094a32612457ba76b524451.tar.bz2
rneovim-320fade35058202cd094a32612457ba76b524451.zip
inline the rest of os_unixx.h into os_unix.c
Diffstat (limited to 'src/os_unix.c')
-rw-r--r--src/os_unix.c17
1 files changed, 16 insertions, 1 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>