Commit 58963d310e12c2824cd209eb824c25f224aca7ea

Authored by Jeff Buchbinder
Committed by GitHub
2 parents db6516ae 9f2d06e8

Merge pull request #33 from fairfieldt/pts-macos-support

use <term.h> instead of <termio.h> on macos
Showing 1 changed file with 4 additions and 0 deletions
pts/tty0tty.c
... ... @@ -32,7 +32,11 @@
32 32 #include <sys/select.h>
33 33 #include <errno.h>
34 34  
  35 +#ifdef __APPLE__
  36 +#include <term.h>
  37 +#else
35 38 #include <termio.h>
  39 +#endif
36 40  
37 41 static char buffer[1024];
38 42  
... ...