Merge #6777 from justinmk/bsd

This commit is contained in:
Justin M. Keyes
2017-05-28 02:37:07 +02:00
committed by GitHub
3 changed files with 11 additions and 3 deletions

View File

@@ -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>