OSX build error fixes

This commit is contained in:
Home
2021-08-13 15:00:17 -04:00
parent 14bf5007d5
commit 03a4837227
5 changed files with 23 additions and 3 deletions

View File

@@ -32,7 +32,11 @@
#include <fcntl.h>
#include <unistd.h>
#include <termios.h>
#include <pty.h>
#if defined(__APPLE__)
#include <util.h>
#else
#include <pty.h>
#endif
CPseudoTTYController::CPseudoTTYController(const std::string& symlink, unsigned int speed, bool assertRTS) :