mirror of
https://github.com/neovim/neovim.git
synced 2025-09-07 11:58:17 +00: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:
@@ -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>
|
||||
|
Reference in New Issue
Block a user