Fix pty.h compile error on FreeBSD (FreeBSD uses libutil.h instead of util.h or pty.h)

This commit is contained in:
Neel Chauhan
2016-10-13 20:21:56 -04:00
committed by Shuanglei Tao
parent 735f9c2583
commit bccf6a435d

View File

@@ -23,6 +23,8 @@
#ifdef __APPLE__
#include <util.h>
#elif defined(__FreeBSD__)
#include <libutil.h>
#else
#include <pty.h>
#endif