Peter M. Groen
/
tty0tty
Toggle navigation
Sign in
Sign in
Project
Files
Commits
Network
Graphs
Milestones
Issues
0
Merge Requests
0
Labels
Wiki
Download as
Email Patches
Plain Diff
Browse Code ยป
Commit
9f2d06e89a9ba18f3193169a5d84789986ace2ab
Authored by
Tom Fairfield
2021-04-22 18:23:42 -0700
1 parent
5f8d18dd
use <term.h> instead of <termio.h> on macos
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
0 deletions
pts/tty0tty.c
pts/tty0tty.c
View file @
9f2d06e
...
...
@@ -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
...
...