aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/os/pty_process_unix.c
diff options
context:
space:
mode:
authorJustin M. Keyes <justinkz@gmail.com>2017-05-21 13:47:39 +0200
committerJustin M. Keyes <justinkz@gmail.com>2017-05-21 13:47:39 +0200
commit17a46dc5e0c814e8c5581fc3b62d67f7e5961670 (patch)
tree57fff742bff29ba74629c53a25a25f4fffec2e73 /src/nvim/os/pty_process_unix.c
parent6255c4e0533961e8e9989a53071a38b6bd6949dd (diff)
downloadrneovim-17a46dc5e0c814e8c5581fc3b62d67f7e5961670.tar.gz
rneovim-17a46dc5e0c814e8c5581fc3b62d67f7e5961670.tar.bz2
rneovim-17a46dc5e0c814e8c5581fc3b62d67f7e5961670.zip
pty_process_unix.c: include <libutil.h> on DragonFly BSD
From FreeBSD ports patch: https://svnweb.freebsd.org/ports/head/editors/neovim/files/patch-src_nvim_os_pty__process__unix.c?revision=425833&view=markup References https://github.com/neovim/neovim/issues/6771#issuecomment-302921368
Diffstat (limited to 'src/nvim/os/pty_process_unix.c')
-rw-r--r--src/nvim/os/pty_process_unix.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/nvim/os/pty_process_unix.c b/src/nvim/os/pty_process_unix.c
index eb9335b03c..ee3ab96a83 100644
--- a/src/nvim/os/pty_process_unix.c
+++ b/src/nvim/os/pty_process_unix.c
@@ -12,7 +12,7 @@
#include <sys/ioctl.h>
// forkpty is not in POSIX, so headers are platform-specific
-#if defined(__FreeBSD__)
+#if defined(__FreeBSD__) || defined (__DragonFly__)
# include <libutil.h>
#elif defined(__OpenBSD__) || defined(__NetBSD__) || defined(__APPLE__)
# include <util.h>