Commit 9f2d06e89a9ba18f3193169a5d84789986ace2ab

Authored by Tom Fairfield
1 parent 5f8d18dd

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,7 +32,11 @@
32 #include <sys/select.h> 32 #include <sys/select.h>
33 #include <errno.h> 33 #include <errno.h>
34 34
  35 +#ifdef __APPLE__
  36 +#include <term.h>
  37 +#else
35 #include <termio.h> 38 #include <termio.h>
  39 +#endif
36 40
37 static char buffer[1024]; 41 static char buffer[1024];
38 42