mirror of
https://github.com/neovim/neovim.git
synced 2025-02-25 18:55:25 -06:00
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
This commit is contained in:
parent
6255c4e053
commit
17a46dc5e0
@ -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>
|
||||
|
Loading…
Reference in New Issue
Block a user