Skip to content

Commit

Permalink
<pty.h>: linux only
Browse files Browse the repository at this point in the history
not only Apple but also other OSes except Linux uses <util.h>.
for details, see
https://www.gnu.org/software/gnulib/manual/html_node/pty_002eh.html
  • Loading branch information
jg1uaa committed Oct 24, 2021
1 parent 186c61a commit a9fbbc1
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions PseudoTTYController.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -32,10 +32,10 @@
#include <fcntl.h>
#include <unistd.h>
#include <termios.h>
#if defined(__APPLE__)
#include <util.h>
#else
#if defined(__linux__)
#include <pty.h>
#else
#include <util.h>
#endif


Expand Down

0 comments on commit a9fbbc1

Please sign in to comment.