aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Reed <Pyrohh@users.noreply.github.com>2016-01-12 17:15:36 -0500
committerMichael Reed <Pyrohh@users.noreply.github.com>2016-01-12 17:15:36 -0500
commite8fab975f8f8a130172577327b4d1450d001c4ce (patch)
treea3581aedda0e3991a258c5c624381cfe44b979d1
parentddf3e2795986112057d4fc5eaf026740e16406d9 (diff)
parent5db511b6f1d1d5fc67fe46118d5e3aefc488bea4 (diff)
downloadrneovim-e8fab975f8f8a130172577327b4d1450d001c4ce.tar.gz
rneovim-e8fab975f8f8a130172577327b4d1450d001c4ce.tar.bz2
rneovim-e8fab975f8f8a130172577327b4d1450d001c4ce.zip
Merge pull request #3993 from Pyrohh/os_defs
[RFC] Stop using <stropts.h>
-rw-r--r--config/CMakeLists.txt1
-rw-r--r--config/config.h.in1
-rw-r--r--src/nvim/os_unix.c4
3 files changed, 0 insertions, 6 deletions
diff --git a/config/CMakeLists.txt b/config/CMakeLists.txt
index 28b1e43ef7..42ae2e14fd 100644
--- a/config/CMakeLists.txt
+++ b/config/CMakeLists.txt
@@ -23,7 +23,6 @@ check_include_files(libgen.h HAVE_LIBGEN_H)
check_include_files(locale.h HAVE_LOCALE_H)
check_include_files(pwd.h HAVE_PWD_H)
check_include_files(strings.h HAVE_STRINGS_H)
-check_include_files(stropts.h HAVE_STROPTS_H)
check_include_files(sys/wait.h HAVE_SYS_WAIT_H)
if(NOT HAVE_SYS_WAIT_H AND UNIX)
# See if_cscope.c
diff --git a/config/config.h.in b/config/config.h.in
index 7975b89103..9a94174be0 100644
--- a/config/config.h.in
+++ b/config/config.h.in
@@ -41,7 +41,6 @@
#cmakedefine HAVE_STRCASECMP
#cmakedefine HAVE_STRINGS_H
#cmakedefine HAVE_STRNCASECMP
-#cmakedefine HAVE_STROPTS_H
#cmakedefine HAVE_SYS_UTSNAME_H
#cmakedefine HAVE_SYS_WAIT_H
#cmakedefine HAVE_UNISTD_H
diff --git a/src/nvim/os_unix.c b/src/nvim/os_unix.c
index 62b264046c..6c7cb3bba7 100644
--- a/src/nvim/os_unix.c
+++ b/src/nvim/os_unix.c
@@ -44,10 +44,6 @@
#include "nvim/os/signal.h"
#include "nvim/msgpack_rpc/helpers.h"
-#ifdef HAVE_STROPTS_H
-# include <stropts.h>
-#endif
-
#ifdef HAVE_SELINUX
# include <selinux/selinux.h>
static int selinux_enabled = -1;